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. If "Auto Name Out Exe" is checked a new file named originalFilename+"_conv.exe" will be created on the target file directory.
B. If "Auto Name Out Exe" is not checked after you press the Convert button you will have to choose the output exe file name.
You could (optional) choose an icon (.ico extension) for the generated executable (.exe extension); or you could just choose the desired exe with a icon and let the convertor (JarToExe) grab the icon from that exe.
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:
*** where m_major, m_minor and m_sub are numbers and the point "." is the separator!
m_major = major number
m_minor = minor number
If you enter just a number like "10" the program will take that as you entered only the major version (10)
If you enter "12.28" the program will take that as you entered both major version (12) and minor version (28)
Distributing the Jdk/Jre with the program (optional):
The "javaw.exe/java.exe/jvm.dll relative path" will be checked first before locally installed jre(s)/jdk(s).
1. Choose your desired jar file name to be converted by clicking on the "..." button
2. Copy the jdk/jre directory in the directory of the .jar program to be converted
3. Browse for the "javaw.exe/java.exe/jvm.dll relative path" by clicking on the "..." button
*** The relative path will be filled by the convertor (JarToExe) from the path you choose.
When you distribute your program you should include beside converted program the jdk/jre directory.
The disadvantage of this is the size/ growning in size. The advantage is that users won't have to install jdk/jre for using the program.
In JarToExeProc you can see two radio boxes: javaw.exe and java.exe - this is what process to be created, javaw.exe is GUI (Graphical User Interface) while java.exe is console (Console Windows).
In JarToExeProc "Other java arguments" are the process parameters for javaw.exe or java.exe (depending on what radio box you choose/check).
In JarToExeJni ";" char is the separator for "Other jni parameters" and for "Other class paths"!