javagcjgnu-classpath

Differences when compiling Java with GNU Compiler for Java instead of the Sun JDK


I'm working on a school project where I am required to use the GNU Compiler for Java. I've always worked using the official Sun JDK and now I'm concerned about differences that might complicate my work.

I'm specially interested in which version of Java is the one supported by the latest GCJ compiler

Could someone shed some light in the differences between one or the other?

PS: I searched on google but failed in finding a recent answer


Solution

  • Since gcj is a compiler on top of GNU Classpath you need the differences between official JDK & GNU Classpath. For SUN JDK 1.4 see this for SUN JDK 1.5 see this one instead.