does anyone know of a good java compiler that can make executable files. I want to be able to run my programs that are not applets without having to open my IDE everytime to execute them. I want to be able to asign them an icon and put them on the desktop for instance. Any suggestions anybody??

13 Years
Discussion Span
Last Post by freesoft_2000

research executable jar files. You can do exe files by some programs, but it just packages the jre or jvm in there.


You might also look at the GNU compiler for Java. It compiles Java code to native machine code. But it has some limitations. Mostly the class library. But they are adding new classes all the time. This site has more info.



GCJ is a very poor implementation. It's platform specific (like all native compilers), extremely incomplete (effectively utterly useless), and generally a pain in the ass when trying to set up Java correctly on any machine it's installed on.

executable Jars and JNLP (Java WebStart) are the way to go.

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.