Home PageCategories: Compilation - Bytecode manipulation
Latest version: 4.0.0
Added 2005-05-11
Portable, optimizing, ahead-of-time compiler for the Java programming language.
GCJ can compile:
- Java source code directly to native machine code,
- Java source code to Java bytecode (class files),
- Java bytecode to native machine code.
Compiled applications are linked with the GCJ runtime, libgcj, which provides the core class libraries, a garbage collector, and a bytecode interpreter. libgcj can dynamically load and interpret class files, resulting in mixed compiled/interpreted applications.
Most of the APIs specified by "The Java Class Libraries" Second Edition and the "Java 2 Platform supplement" are supported, including collections, networking, reflection, and serialization. AWT is currently unsupported, but work to implement it is in progress.
Debugging is supported using recent versions of the GNU debugger, GDB.
In addition to regular native programming, GCJ can be configured as a cross-compiler, suitable for embedded systems programming.
GCJ is part of the GNU Compiler Collection (GCC).
Built for Java |
Free or free version available |
Source code provided |