OpenGL Execption on eclipse
in
Integration and Hardware
•
9 months ago
i'm starting with processing un try to make a 3D vew. I try to run a processing code from eclipse. i receive this execption. i have installed the new version on ubuntu 11.10. Can help me somebody? thanks:
Execption:
java.lang.NoClassDefFoundError: javax/media/opengl/GLException
at processing.opengl.PGraphicsOpenGL.<init>(PGraphicsOpenGL.java:519)
at processing.opengl.PGraphics3D.<init>(PGraphics3D.java:37)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:525)
at processing.core.PApplet.makeGraphics(PApplet.java:1744)
at processing.core.PApplet.size(PApplet.java:1596)
at processing.core.PApplet.size(PApplet.java:1567)
at example.Test.setup(Test.java:52)
at processing.core.PApplet.handleDraw(PApplet.java:2117)
at processing.core.PGraphicsJava2D.requestDraw(PGraphicsJava2D.java:193)
at processing.core.PApplet.run(PApplet.java:2020)
at java.lang.Thread.run(Thread.java:722)
Caused by: java.lang.ClassNotFoundException: javax.media.opengl.GLException
at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
at java.lang.ClassLoader.loadClass(ClassLoader.java:423)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
at java.lang.ClassLoader.loadClass(ClassLoader.java:356)
... 14 more
Exception in thread "Animation Thread" java.lang.RuntimeException: javax/media/opengl/GLException
at processing.core.PApplet.makeGraphics(PApplet.java:1769)
at processing.core.PApplet.size(PApplet.java:1596)
at processing.core.PApplet.size(PApplet.java:1567)
at example.Test.setup(Test.java:52)
at processing.core.PApplet.handleDraw(PApplet.java:2117)
at processing.core.PGraphicsJava2D.requestDraw(PGraphicsJava2D.java:193)
at processing.core.PApplet.run(PApplet.java:2020)
at java.lang.Thread.run(Thread.java:722)
1