Login  Register

Re: Jogl/Jogamp on Java 9 no compatible graphics context

Posted by gouessej on Dec 26, 2017; 2:32pm
URL: https://forum.jogamp.org/Jogl-Jogamp-on-Java-9-tp4038012p4038436.html

Strictly follow the instructions of the Java3D user's guide I wrote:
https://gouessej.wordpress.com/2012/08/01/java-3d-est-de-retour-java-3d-is-back/
It mentions the necessary JARs. jogamp-fat.jar contains the necessary JARs for JOGL, JOCL, JOAL and GlueGen. Yes, you need to use the JARs of Java3D too, they are mentioned here:
https://gouessej.wordpress.com/2012/08/01/java-3d-est-de-retour-java-3d-is-back/#commandline

Your source code works with Java 1.8. The JogAmp community isn't responsible for the regressions within AWT in Java 1.9 under OS X. You can still use Java 1.8 in the meantime.

Edit.: It would be interesting to know what happens here on your machine:
https://github.com/gouessej/java3d-core/blob/master/src/main/java/org/jogamp/java3d/JoglPipeline.java#L8500

Edit.: What happens when you call "new Canvas3D(null)"?
Julien Gouesse | Personal blog | Website