Login  Register

Re: Upgrading from JOGL 2.3.2 to Current master for Java 11 support

Posted by Sven Gothel on Feb 06, 2020; 9:34am
URL: https://forum.jogamp.org/Upgrading-from-JOGL-2-3-2-to-Current-master-for-Java-11-support-tp4040335p4040338.html

On 2/6/20 1:10 AM, aldebaran30701 [via jogamp] wrote:

> 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

To double check, I just did the following on GNU/Linux (Debian 10),
which includes

'git version 2.20.1'

and

openjdk version "11.0.6" 2020-01-14

git clone --recurse-submodules git://jogamp.org/srv/scm/gluegen.git gluegen
cd gluegen/make
ant -Dtarget.sourcelevel=1.8 -Dtarget.targetlevel=1.8
-Dtarget.rt.jar=/opt-linux-x86_64/jre1.8.0_121/lib/rt.jar

So the git clone w/ recursive submodules does work.
Our build server are also using the very same setup.
Curious.

~Sven