Login  Register

Upgrading from JOGL 2.3.2 to Current master for Java 11 support

Posted by aldebaran30701 on Feb 06, 2020; 12:10am
URL: https://forum.jogamp.org/Upgrading-from-JOGL-2-3-2-to-Current-master-for-Java-11-support-tp4040335.html

I am working on migrating to Java 11, and have to upgrade the JOGL dependent libraries.

From my understanding, If I use the most current, I have to build from binaries. I've been following the steps religiously on https://jogamp.org/jogl/doc/HowToBuild.html for building Gluegen and Jogl, but keep facing the same error after multiple attempts.

These are the steps I've taken.
1. ensure my cmd or git bash sees ant, java home etc.
2. cloned the git repository from (Because https://jogamp.org/cgit/gluegen.git/ did not work) with --recurse-submodules
    a. https://github.com/sgothel/jogl
    b. https://github.com/sgothel/gluegen
3. ensured the structure was as follows
jogamp
    |
    -- jogl
    -- gluegen
Where the clone command created the folders jogl and gluegen
4. set CLASSPATH=
5. loaded cmd within gluegen/make
6. executed `ant -Dtarget.sourcelevel=1.8 -Dtarget.targetlevel=1.8 -Dtarget.rt.jar=/your/openjdk8/lib/rt.jar`
Build failed. See attached log text for output with -v flag.

I'd love some advice or guidance on what I can trial next. Or if I misunderstood something.
Cheers, Aldebaranjogl_build_log.txt