How to use
1. Browse for jar archive by clicking on the "..." button
(from the front of "Jar file name:" label )
2. Click the Convert button and watch the Status label
3. A new file named originalFilename+"_conv.exe" will be created on the target file directory.
You could also choose an icon (.ico extension) for the executable (.exe extension).
Java min version and max version (minim and maxim java version) is the preferable Java version, the installed java version which will be checked and runned first, the program will still try after to execute the jar using any Java version you have installed.
Java min version and Java max version must be entered like this:
javaw.exe/java.exe relative path / jvm.dll relative path:
*** This is for distributing jdk/jre with the program
The "javaw.exe/java.exe relative path" will be checked first before locally installed jre(s)/jdk(s).
Copy installed jre (ie the directory jre7 from C:\Program Files (x86)\Java\) to local program directory (where the converted exe is located), for example if converted program name will become C:\ProgramName\ProgramName_conv.exe; you copy jre7 to program directory: C:\ProgramName\ and then you specify as relative path: jre7\bin
C:\ProgramName\jre7\bin\java.exe and C:\ProgramName\jre7\bin\javaw.exe will exist!
You will distribute the whole directory C:\ProgramName including jre7 with the converted program so user won't have to install jdk/jre.
JarToExeProc: you can see two radio boxes javaw.exe and java.exe
- this is what process to be created, javaw.exe is the window one (GUI), java.exe is the console one (console window).
Other java arguments are the process parameters for javaw.exe or java.exe (depending on what radio box you choose/check).
";" is the separator for "Other jni parameters" and for "Other class paths"!