Compiling java into native code?
17,116
GNU Compiler for the Java can be found at http://gcc.gnu.org/install/binaries.html
And you may try the following tools:
- JET: http://www.excelsior-usa.com/jet.html
- Exe4j: http://www.ej-technologies.com/products/exe4j/overview.html
Author by
kzolp67
Updated on June 06, 2022Comments
-
kzolp67 almost 2 years
I'm trying to find a java compiler that I can use to compile my java code into native binaries on different operating systems. I have heard of the GNU Compiler for Java but I can't seem to find a download for that and I think it's dead anyway. Are there any good up-to-date compilers out there that I can use to compile java code into a .exe and a .app or anything or can you tell me how to get the GNU Compiler for Java.
-
kzolp67 about 11 yearsWhat do you mean you can setup an installer that updates the jre instead.
-
axle_h about 11 years
-
kzolp67 about 11 yearslaunch4j only wraps the jar in an exe it is still extractable to a normal jar
-
axle_h about 11 yearsI know, I was stating that something like launch4j would be a better option than native compiling. If you absolutely have to have native code then develop using c++. Java wasn't made for it.