Refresh Your Java - Before Java Interview
We are Agile, believe in less Documentation - Only Quick notes (Java Interview Questions) of Java/J2ee Read more....
This is sample Shell Script gives us an idea on how
to write a
Shell Script to Run a Java Class which could
be a Batch Job.
YOURAPP_LIB_HOME=$HOME/lib
JDBC_LIB=/export/apps/oracli/cust/10.1.0.3/jdbc/lib
JAVA_HOME=/export/appl/gt-tools/j2sdk1.4.2_12
export YOURAPP_LIB_HOME JDBC_LIB JAVA_HOME
PATH=/usr/SYSADM/bin:/usr/sbin:.:/export/apps/sched/autosys/bin:/export/apps/sched/local/bin:
/export/apps/sched/local/sbin:/export/apps/sched/local/arch/bin:/export/apps/sched/local/arch/sbin:/usr/SYSADM/bin:/export/appl:$JAVA_HOME/bin
CLASSPATH=$CLASSPATH:$JAVA_HOME/lib/tools.jar:$YOURAPP_LIB_HOME/activation.jar:$YOURAPP_LIB_HOME/mail.jar:$HOME/bin:$JDBC_LIB/classes12.jar
export PATH CLASSPATH
echo $PATH
echo
$CLASSPATH
java
com.salesorder.batchjob.DataSync
public class DataSync {
}
This Portal is intended to put all Java/J2ee related topics at one single place for quick referance, not only Technical , but also the Project Management Related thing such as Development Process methodoogies build process, unit testing etc.,
This Portal has More than 500 Java Interview Questions (also could be Considered as Quick Notes) very neatly separated topic by topic with simple diagrams which makes you easily understandable. Importantly these are from our Realtime expericance.