Batch file/bash script to run java jar files:
Linux
-
java -cp MainJAR.jar:IC_SVN_ProdScan.jar ic.ac.uk.svn_utilities.prodscan.mainApp PARAM1 PARAM2 ETC
Windows
Same but use ; rather than :
Run class files mixed in
If class filles are in this directory you can include the current directory in cp:
-
"java" -cp %RJM_CMN%;. Main
RJM Article Type
Quick Reference