What's a good program to turn a .jar into .exe? I've tried jSmooth, JEXECreator and launchJ to no avail.
The Java Packager tool compiles, packages, and prepares Java and JavaFX applications for distribution. The javapackager command is the command-line version. The javapackager utility ships with the JDK. It can generate .exe files with the -native exe flag, among many other things.
You need to find the Java executable file (java.exe file) on your computer hard drive. It is often located in the "Program Files\Java" or "Program Files (x86)\Java" folder, within a possible subfolder below the Java folder. Once you find the file, select it and click OK.
As per the comments:
my main class file does not have String (main[]) class... it shouldnb't because it's an applet
So your JAR does not represent a Java application at all? You need to convert your applet to a Java (Swing) application. Those EXE creators are for Java applications only.
I prefer JEXECreator 1.9.3, it is very good and easy to use
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With