This article will discuss some problems encountered while running Flux against GCJ. GCJ is the GNU Compiler for Java and is installed by default on Red Hat Linux.
Flux does not currently support GCJ. If you try to run Flux against GCJ, you will encounter errors.
If you are running GCJ, we suggest installing Java 1.5 or 1.4 from the Sun site at: java.sun.com.
If you continue to experience problems with Flux after you have installed Java 1.5 or 1.4, you may need to check your global variables for JAVA_HOME and PATH as there may still be a reference to the GCJ version of Java instead of the Sun version of Java.
To find out if GCJ is conflicting with another version of Java, run these commands in a shell:
echo $JAVA_HOME
echo $PATH
If GCJ shows up in JAVA_HOME, it should be replaced with the path of your Java 1.5 or 1.4 install. If GCJ shows up in the PATH variable, make sure that the location of Java 1.5 or 1.4 is before the location of GCJ.