Reply – Re: Aviatrix3D JOGL Problem
Your Name
Subject
Message
or Cancel
In Reply To
Re: Aviatrix3D JOGL Problem
— by Xerxes Rånby Xerxes Rånby
3) Lines 246, 333, ... : java.lang.ClassNotFoundException: sun.java2d.opengl.OGLUtilities cannot be found by com.io7m.bundles.org.jogamp.jogl_2.3.2 

some more information from your log http://forum.jogamp.org/file/n4038396/aviatrix3d-logging.log :
Platform: Java Version: 1.8.0_112 (1.8.0u112), VM: Java HotSpot(TM) 64-Bit Server VM, Runtime: Java(TM) SE Runtime Environment
Platform: Java Vendor: Oracle Corporation, http://java.oracle.com/, JavaSE: true, Java6: true, AWT enabled: true
This hints that your Java 8 implementation prevents you to initialize the class OGLUtilities, a class that is part of AWT java2d and shipped with the JVM, thus it should be available, however we have recently seen oracles JVM implementation to restrict initialization of AWT classes from outside the JVM runtime classes.

It may be similar to the situation with recent JVM implementations of Java 9
https://jogamp.org/bugzilla/show_bug.cgi?id=1317

You can try add the following JVM argument and check if that fixes your issue.
--permit-illegal-access
alternatively these jvm option:
--add-exports=java.base/java.lang=ALL-UNNAMED
--add-exports=java.desktop/sun.awt=ALL-UNNAMED
--add-exports=java.desktop/sun.java2d=ALL-UNNAMED



2017-12-11 13:29 GMT+01:00 Arvid [via jogamp] <[hidden email]>:
Ok, let's have a look at the loggings:

1) Line 7: java.lang.IllegalArgumentException: Buffer is not an ELF Header
              Not Windows, only Linux has an ELF-Header!(?)

2) Line 89: java.lang.Exception: JVMUtil.initSingleton() .. initialized main
                gluegen-rt loading ok???

3) Lines 246, 333, ... : java.lang.ClassNotFoundException: sun.java2d.opengl.OGLUtilities cannot be found by com.io7m.bundles.org.jogamp.jogl_2.3.2
              ??? (OSGI JOGL bundles)

4) Line 3982: com.jogamp.opengl.GLException: No GLDrawableFactory available for profile: GLES2
                   no problem ???

5) Line 20300, ...: several errors ???

6) Line 23343: main: GLCanvas: TK disableBackgroundErase error: java.lang.reflect.InvocationTargetException
                     ???

7) Line 23597: updateGraphicsConfigurationARB: wglARBPFIDs2GLCapabilities failed with 6 pfd ids
                      cannot load caps???

OSGI - JOGL debug vm args:
-runvm: -Djogamp.debug=all, -Dnativewindow.debug=all, -Djogl.debug=all, -Dnewt.debug=all, -Dsun.java2d.noddraw=true, -Dsun.awt.noerasebackground=true


If you reply to this email, your message will be added to the discussion below:
http://forum.jogamp.org/Aviatrix3D-JOGL-Problem-tp4038396p4038397.html
To start a new topic under jogl, email [hidden email]
To unsubscribe from jogamp, click here.
NAML