Login  Register

GCJ gij JRE and Eclipse ecj using Java 1.5 nio

Posted by Xerxes Rånby on Jan 18, 2013; 4:16pm
URL: https://forum.jogamp.org/GCJ-gij-JRE-and-Eclipse-ecj-using-Java-1-5-nio-tp4027933.html

I ran a check if it was possible to run JogAmp JOGL using the GCJ gij JRE.
After some quick fixes TestRedSquareES1NEWT got running using gij.

https://github.com/sgothel/gluegen/pull/13

Pros:
- support using many more JVM in combination with GNU classpath.
- If we can use GCJ then it would be possible to compile native binary’s for easy deployment on some exotic hardware platforms.

Cons:
- The classpath implementation shipped with GCJ gij JRE and Ecliple ecj only uses a Java 1.5 nio implementation.
- A lot more code needs to be rewritten to stay fully backwards compatible with Java 1.5.

The question is do we want to support JRE using Java 1.5 nio classpath implementation?