Thursday, 25 August 2016

How to create batch file

 @echo off
java -cp "./image/AppProfileNov11.gif;Test.jar" com.ckt.SampleProgram
pause



Explanation:

   The above 3 line create batch file where ;                     |
  ./image/AppProfileNov11.gif : Image to add in the program.(optional, as per requirment)
  Test.jar : The application jar file name.                        |
  com.ckt.SampleProgram :  class name including package name.|


No comments:

Post a Comment