Login  Register

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

Posted by Douglas Lyon on Dec 28, 2017; 12:00am
URL: https://forum.jogamp.org/Jogl-Jogamp-on-Java-9-tp4038012p4038452.html

Here is how I am able to run java on the mac;
step 1, totally remove jdk9;

sudo rm -fr /Library/Java/JavaVirtualMachines/jdk-9.jdk/
sudo rm -fr /Library/Internet\ Plug-Ins/JavaAppletPlugin.plugin
sudo rm -fr /Library/PreferencePanes/JavaControlPanel.prefPane

step 2, reinstall jdk8 (1.8_151)

The jdk9 launcher was somehow preventing the creation of a canvas3d, even when jdk8 was selected
as the preferred run-time. I do not know what is going on with that.

You may test my webstart version of jogl at:
http://www.docjava.com/book/cgij/code/jnlp/j3d.examples.boids.Main.jnlp

Please let me know if you have any problems running the program...and if anybody can
get jdk9 on a mac to run java3d, I would sure appreciate knowing about it.

Thanks!
 - Doug