java.lang.IllegalAccessError: tried to access class com.sun.opengl.impl.Project from class javax.media.opengl.glu.GLU

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via cpbotha.net by Unknown author, 1 year ago
tried to access class com.sun.opengl.impl.Project from class javax.media.opengl.glu.GLU
via cpbotha.net by Unknown author, 1 year ago
tried to access class com.sun.opengl.impl.Project from class javax.media.opengl.glu.GLU
java.lang.IllegalAccessError: tried to access class com.sun.opengl.impl.Project from class javax.media.opengl.glu.GLU
at javax.media.opengl.glu.GLU.(GLU.java:218)
at processing.opengl.PGraphicsOpenGL.(PGraphicsOpenGL.java:113)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at processing.core.PApplet.makeGraphics(PApplet.java:1316)
at processing.core.PApplet.size(PApplet.java:1142)
at processing.core.PApplet.size(PApplet.java:1102)
at undefined.NyARTest.setup(NyARTest.java:80)
at processing.core.PApplet.handleDraw(PApplet.java:1571)
at processing.core.PApplet.run(PApplet.java:1496)
at java.lang.Thread.run(Thread.java:613)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Know the solutions? Share your knowledge to help other developers to debug faster.