This a statment in one of the shell script in my project. all the variables JAVA_HOME, HOME_PATH1 -4 and FILE1 are difined in the shell script. Can someone please tell me how to interprete this statement? Is this running any java program?
$JAVA_HOME/bin/java �classpath $JAVA_HOME/lib:$HOME_PATH1/spin.jar: $HOME_PATH2/route.jar: $HOME_PATH3/crack.jar: $HOME_PATH4/xmlparserv2.jar: $HOME_PATH4/classes12.jar com/mech/proj/rate $FILE1 Edited by BFG to prevent over-wide line [ April 05, 2003: Message edited by: Barry Gaunt ]
$JAVA_HOME/bin/java is running the java interpreter (Java Virtual Machine - JVM) com/mech/proj/rate is the program (rate.class) $HOME5/conf/rateConf.xml is input file to the program ( could be some configuration file) �classpath $JAVA_HOME/lib: $HOME_PATH1/spin.jar: $HOME_PATH2/route.jar: $HOME_PATH3/crack.jar: $HOME_PATH4/xmlparserv2.jar: $HOME_PATH4/classes12.jar -classpath is telling the JVM where to look for the program and/or the imported classes that it requires.
Joined: Jan 04, 2001
Thanks Barry!! Your response will help me go ahead with understanding the flow further.