Developer(s) | The GNU Project |
---|---|
Initial release | September 6, 1998 |
Last release |
6.3 / December 21, 2016
|
Operating system | Unix-like |
Type | Compiler |
License | GNU GPL |
Website | gcc |
The GNU Compiler for Java (GCJ) was a free compiler for the Java programming language and part of the GNU Compiler Collection.
GCJ could compile Java source code to Java Virtual Machine bytecode or to machine code for a number of CPU architectures. It could also compile class files and whole JARs that contain bytecode into machine code.
The GCJ runtime-libraries original source is from GNU Classpath project, but there is a code difference between the libgcj
libraries. GCJ 4.3 uses the Eclipse Compiler for Java as a front-end.
In 2007, a lot of work was done to implement support for Java's two graphical APIs in GNU Classpath: AWT and Swing. Software support for AWT is still in development. "Once AWT support is working then Swing support can be considered. There is at least one free-software partial implementations of Swing that may be usable.". The GNU CLASSPATH was never completed to even Java 1.2 status and now appears to have been abandoned completely.
As of 2015, there were no new developments announced from GCJ and the product was in deep maintenance mode. GCJ was removed from the GCC trunk on September 30, 2016. Announcement of its removal was made with the release of the GCC 7.1, which does not contain it. GCJ remains part of GCC 6.