Reputation: 18198
What's a good program to turn a .jar into .exe? I've tried jSmooth, JEXECreator and launchJ to no avail.
Upvotes: 9
Views: 429
Reputation: 1109522
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.
Upvotes: 6
Reputation: 3412
There's Excelsior JET too, it claims passed the Java Compatibility Test, which makes it equivalent to a regular compiler. I used it once.
But you should know that such solution are somewhat failure prone... I had a hard time trying to compile a rather simple Java app to EXE. In the end, it worked, to some degree.
Upvotes: 0
Reputation: 913
This is commercial but you can try evaluation version of exe4j: http://www.ej-technologies.com/products/exe4j/overview.html
I have never seen any working free tool for this.
Upvotes: 0