Re: Jogl/Jogamp on Java 9 no compatible graphics context
Posted by
gouessej on
Jan 09, 2018; 7:43pm
URL: https://forum.jogamp.org/Jogl-Jogamp-on-Java-9-tp4038012p4038507.html
Thank you. Therefore, the remaining problem is the crash when destroying the OpenGL context under OS X with Java 1.9.
Sorry, I forgot something important concerning Java Webstart. Actually, as I haven't used Java Webstart for about two years in my non professional projects, I haven't tested it with jogamp-fat.jar but I used jogl-all.jar + gluegen-rt.jar instead for years with Webstart, it should work as expected. If it doesn't, you can just use Ant to modify the JARs in order to add the missing attributes and even merge jogamp-fat.jar with your own JARs and sign your single very fat JAR. You can look at the source code of TUER, the alpha version still uses Java Webstart whereas the pre-beta version doesn't. The problem is that the numerous security changes introduced in lots of updates in Java 1.7 have driven Java Webstart very difficult to use, maybe my own code doesn't set all necessary attributes in the manifest.
P.S: Oops, the destruction of the native window causes a crash too :s