Is GNU's Java Compiler (GCJ) dead?
You could use IKVM and Mono's ahead of time compiler to generate native code.
EDIT
There is an example at the bottom of this page.
How to use GCC with Java?
Did you read the manual?
gnu java
They have a compiler called gcj dedicated to Java language.
Java JRE vs GCJ
GCJ is obsolete. It was started a long time ago because people wanted an open-source alternative to the Sun JDK, and it was never particularly good. Now that Sun open-sourced their JDK, there's absolutely no reason to use GCJ (but it still lurks in some Linux distros).
Related Topics
Compare Two Objects in Java with Possible Null Values
Annotation @Transactional. How to Rollback
How to Restrict Jfilechooser to a Directory
Facebook Offline Access Step-By-Step
Compile and Execute a Jdk Preview Feature with Maven
Java.Lang.Verifyerror: Expecting a Stackmap Frame at Branch Target Jdk 1.7
Why Generate Long Serialversionuid Instead of a Simple 1L
How to Check the Bitness of My Os Using Java? (J2Se, Not Os.Arch)
Junit Confusion: Use 'Extends Testcase' or '@Test'
Nextdouble() Throws an Inputmismatchexception When I Enter a Double
What Are the Main Uses of Yield(), and How Does It Differ from Join() and Interrupt()
How to Create a Custom Exception Type in Java
Java 7 String - Substring Complexity
How to Get Current Working Directory in Java
Replacing If Else Statement with Pattern