posted 18 years ago
Hello hoang,
you can make batch file into which you can specifiy your directories to create, and from there you can call your jar file. Below is the sample program might help ful to you
**********************
set JAVAVER=1.5.0
set JAVAPATH=c:\JDK
set JAVADIR=%JAVAPATH%%JAVAVER%
SET JavaBinPath=%JAVADIR%\bin
call %JavaBinPath%\javaw Sample.MainClass > sampleLog.log 2>&1
**********************
In this way you can call your jar file, but dont forget while creating your jar file mention your program main class in to your manifest.