Running Java jar programs

Submitted by code_admin on Wed, 07/25/2018 - 10:32

Batch file/bash script to run java jar files:


  1. java -cp MainJAR.jar:IC_SVN_ProdScan.jar PARAM1 PARAM2 ETC


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:

  1. "java" -cp %RJM_CMN%;. Main


RJM Article Type
Quick Reference