fredand44
Posts: 38
Joined: Thu Nov 17, 2016 6:52 am

Java3D - Available GLVersions not set for EGLGraphicsDevice

Thu Oct 17, 2019 5:05 am

Hello guys,
I have an old project that uses Java3D. It is a java app that renders some 3D graphics.

But when I start it on my Raspberry PI 4 with OS Raspbian I get this error:

WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by javax.media.j3d.JoglPipeline (file:/home/albin/H%c3%a4mtningar/object3Dcreator-app-1.0.0-jar-with-dependencies.jar) to method sun.awt.AppContext.getAppContext()
WARNING: Please consider reporting this to the maintainers of javax.media.j3d.JoglPipeline
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
Exception in thread "AWT-EventQueue-0" java.lang.InternalError: Available GLVersions not set for EGLGraphicsDevice[type .egl, v1.4.0, connection decon, unitID 0, handle 0x7b3030, owner true, NullToolkitLock[obj 0x1a66d50]]
at com.jogamp.opengl.GLProfile.initProfilesForDeviceCritical(GLProfile.java:1952)
at com.jogamp.opengl.GLProfile.initProfilesForDevice(GLProfile.java:1875)
at com.jogamp.opengl.GLProfile.initProfilesForDefaultDevices(GLProfile.java:1842)
at com.jogamp.opengl.GLProfile.access$000(GLProfile.java:80)
at com.jogamp.opengl.GLProfile$1.run(GLProfile.java:230)
at java.base/java.security.AccessController.doPrivileged(Native Method)

Could there be some settings in Raspbian that enable GLVersions or do I need to install some packages to enable it?
Best regards
Fredrik

fredand44
Posts: 38
Joined: Thu Nov 17, 2016 6:52 am

[SOLVED ]Re: Java3D - Available GLVersions not set for EGLGraphicsDevice

Fri Oct 25, 2019 6:06 am

Hello Guys,
I got some java3d help at this place:
http://forum.jogamp.org/Available-GLVer ... 40111.html
Best regards
Fredrik

User avatar
clicky
Posts: 419
Joined: Thu Oct 25, 2012 7:34 am

Re: Java3D - Available GLVersions not set for EGLGraphicsDevice

Fri Oct 25, 2019 8:14 am

Thanks for sharing link back to JOGL. That was helpful! :)

Return to “Java”