Login  Register

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

Posted by gouessej on Jan 06, 2018; 7:41pm
URL: https://forum.jogamp.org/Jogl-Jogamp-on-Java-9-tp4038012p4038483.html

j3dcore-ogl_dll does not exist in Java3D >= 1.6.0!!! It was used in Java3D <= 1.5.2 by the native OpenGL renderer NOT based on JOGL. You're still mixing Java3D 1.6.0 with an obsolete version. Yes it's right, win32 designates the Win32 API whatever the bitness.

Keep in mind that numerous virus scanners are paranoid. Sometimes, they block the DLLs being extracted by GlueGen when using jogamp-far.jar but it happens with DLLs provided in separate JARs in some rare cases too. You can adapt your deployment to work around some unwanted behaviours but it won't work everywhere with Java Webstart. The least annoying solution (in my humble opinion) consists in not using Java Webstart and deploying the native libraries directly without using JARs which is impossible with Java Webstart. This is what causes the least problems.

The stack trace mentions the bug 1004, I'll have to investigate.

Edit.: If you still need j3dcore-ogl_dll, it means that your installation is dirty and you still use Java3D 1.5.2. It solves nothing for sure as Java3D 1.6.0 doesn't load it.
Julien Gouesse | Personal blog | Website