test
test

Reputation: 18198

Java Executable file from JAR

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

Answers (4)

BalusC
BalusC

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

mdrg
mdrg

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

teodozjan
teodozjan

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

Eng.Fouad
Eng.Fouad

Reputation: 117665

I prefer JEXECreator 1.9.3, it is very good and easy to use

Upvotes: 4

Related Questions