There used to be a tool called GCJ that was part of GCC, but it’s been removed. Now, all the links in the GCC site re-direct to their non-GCJ equivalents.
NB: the comments all refered to my original answer saying you can compile Java to native code with GCJ.
More Related Contents:
- How do you dynamically compile and load external java classes? [duplicate]
- Compile code using JavaFX 2.0 (using command line)
- #ifdef #ifndef in Java
- java compiled classes contain dollar signs
- Java: How can I compile an entire directory structure of code ?
- Is Java a Compiled or an Interpreted programming language ?
- Preserving parameter/argument names in compiled Java classes
- How do I compile a .java with support for older versions of Java?
- How can I compile and deploy a java class at runtime?
- Error:java: invalid source release: 8 in Intellij. What does it mean?
- Compiling and Running Java Code in Sublime Text 2
- Java static final values replaced in code when compiling?
- Java compile speed vs Scala compile speed
- How to unload library (DLL) from the JVM
- Creating non-reverse-engineerable Java programs
- Compiling external .java files from within Java
- Compiling to a specific JRE with Eclipse
- How to run Java program in command prompt
- Javac “cannot find symbol”
- Compile error: package javax.servlet does not exist
- Casting a class to an unrelated interface
- Why doesn’t the JVM cache JIT compiled code?
- Tail Call Optimisation in Java
- Gradle “Entry .classpath is a duplicate but no duplicate handling strategy has been set”
- How to wildcard include JAR files when compiling?
- Is it possible to use sun.misc.Unsafe to call C functions without JNI?
- How to compile multiple Java files when there are Java files in other packages?
- IntelliJ IDEA 13 uses Java 1.5 despite setting to 1.7
- Java – When is it a compiler error and when is it a runtime exception?
- Why do java source files require package declarations?