
Users of other platforms may get binary distributions of GCC from their favorite download centers. Windows users need to visit the MinGW Download page and get the following two files:Īnd install both into a common directory ( C:\MinGW will work fine.) Other Platforms To install GCJ on a Red Hat Linux 8.0 system, simply run GCC is bundled with most Linux distributions. In this article, I will first take you on a tour of GCJ basics, and then show some more advanced features.

However most other Java features are supported, including collections, networking, reflection, serialization, JNI and RMI. GCJ's Java implementation is not complete. GCJ native code can be executables or shared libraries. It can also compile Java bytecode to native machine code. It can compile Java source code to either Java bytecode (class files) or native machine code.

Support for Windows using MinGW is also available. Currently at version 3.2.1, it is supported on GNU/Linux on Pentium, Itanium, Alpha, PowerPC and AMD Hammer, FreeBSD on Pentium, Solaris on SPARC and more. GCJ, a radically traditional (*) Free Software implementation of the Java language, has been part of GCC since the 3.0 release in June 2001.

By Weiqi Gao, OCI Principal Software Engineer
