Login  Register

Re: JogAmp Build v2.4.0-rc-20210111

Posted by gouessej on Sep 05, 2021; 6:56pm
URL: https://forum.jogamp.org/JogAmp-Build-v2-4-0-rc-20210111-tp4040955p4041258.html

I can't build the master branch with Java 17:
gouessej wrote
[gouessej@localhost make (master)]$ ant -Dtarget.sourcelevel=1.8 -Dtarget.targetlevel=1.8 -Dtarget.rt.jar=/home/gouessej/Documents/installation/jdk8u302-b08/jre/lib/rt.jar
Buildfile: /home/gouessej/Documents/programmation/java/workspace/jogl/make/build.xml

jogamp.env.validation:
     [echo] ant.version                Apache Ant(TM) version 1.10.11 compiled on July 10 2021
     [echo] ant.java.version           17
     [echo] java.version               17
     [echo] java.home                  /home/gouessej/Documents/installation/jdk-17
     [echo] jvmJava.exe                /home/gouessej/Documents/installation/jdk-17/bin/java
     [echo] jvmJava8.exe               ${jvmJava8.exe}

BUILD FAILED
/home/gouessej/Documents/programmation/java/workspace/gluegen/make/jogamp-env.xml:78: Unsupported Java version: 17. Make sure that the version of Java is 1.8 or greater.

Total time: 1 second
Julien Gouesse | Personal blog | Website