We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
IndexProgramming Questions & HelpIntegration › opengl errors with java 1.6.03 and processing-0132
Page Index Toggle Pages: 1
opengl errors with java 1.6.03 and processing-0132 (Read 2650 times)
opengl errors with java 1.6.03 and processing-0132
Oct 23rd, 2007, 10:23pm
 
Hi Everyone,
Has anyone encountered this error when trying to upgrade to the latest processing version?

The error is coming from this statement:
size(1024, 768, OPENGL);

I have upgraded the various processing versions for a long time and have not encountered this problem before. The JAVA2D and P3D versions work, just not the opengl. I just get a blank 100x100 screen.

Am I missing something here? Could this possibly be the migration to jogl 1.1?
thanks,
Richard

java.lang.NoClassDefFoundError: com/sun/gluegen/runtime/DynamicLookupHelper
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.access$000(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.access$000(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at javax.media.opengl.GLDrawableFactory.getFactory(GLDrawableFactory.java:106)
at javax.media.opengl.GLCanvas.<init>(GLCanvas.java:113)
at javax.media.opengl.GLCanvas.<init>(GLCanvas.java:82)
at processing.opengl.PGraphicsOpenGL.allocate(PGraphicsOpenGL.java:219)
at processing.core.PGraphics3D.resize(PGraphics3D.java:244)
at processing.core.PGraphics.<init>(PGraphics.java:640)
at processing.core.PGraphics3D.<init>(PGraphics3D.java:220)
at processing.opengl.PGraphicsOpenGL.<init>(PGraphicsOpenGL.java:104)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
java.lang.RuntimeException: com/sun/gluegen/runtime/DynamicLookupHelper
at processing.core.PApplet.createGraphics(PApplet.java:1220)
at processing.core.PApplet.size(PApplet.java:1000)
at processing.core.PApplet.size(PApplet.java:944)
at GenomeViewer.setup(GenomeViewer.java:42)
at processing.core.PApplet.handleDisplay(PApplet.java:1375)
at processing.core.PGraphics.requestDisplay(PGraphics.java:690)
at processing.core.PApplet.run(PApplet.java:1547)
at java.lang.Thread.run(Unknown Source)
at processing.core.PApplet.createGraphics(PApplet.java:1203)
at processing.core.PApplet.size(PApplet.java:1000)
at processing.core.PApplet.size(PApplet.java:944)
at GenomeViewer.setup(GenomeViewer.java:42)
at processing.core.PApplet.handleDisplay(PApplet.java:1375)
at processing.core.PGraphics.requestDisplay(PGraphics.java:690)
at processing.core.PApplet.run(PApplet.java:1547)
at java.lang.Thread.run(Unknown Source)
Error while running applet.
java.lang.RuntimeException: com/sun/gluegen/runtime/DynamicLookupHelper
at processing.core.PApplet.createGraphics(PApplet.java:1220)
at processing.core.PApplet.size(PApplet.java:1000)
at processing.core.PApplet.size(PApplet.java:944)
at GenomeViewer.setup(GenomeViewer.java:42)
at processing.core.PApplet.handleDisplay(PApplet.java:1375)
at processing.core.PGraphics.requestDisplay(PGraphics.java:690)
at processing.core.PApplet.run(PApplet.java:1547)
at java.lang.Thread.run(Unknown Source)
Re: opengl errors with java 1.6.03 and processing-
Reply #1 - Oct 24th, 2007, 12:27am
 
i would suspect conflicting versions of jogl installed on your machine (as i'm not seeing this behavior on my windows box).

you might search your machine for the jogl files and see if anything turns up (e.g. in the java install's 'ext' folder). if that turns up nothing, try setting your sketchbook folder (in preferences) to an empty folder, try running again, and see if that works.
Re: opengl errors with java 1.6.03 and processing-
Reply #2 - Oct 24th, 2007, 2:04am
 
I had this too.

Add "gluegen-rt.jar" to your build path and make sure "gluegen-rt.dll" is in your "java.library.path"

That should solve the problem.
Re: opengl errors with java 1.6.03 and processing-
Reply #3 - Oct 24th, 2007, 2:49pm
 
dgizusse wrote on Oct 24th, 2007, 2:04am:
Add "gluegen-rt.jar" to your build path and make sure "gluegen-rt.dll" is in your "java.library.path"

actually, if you're using the processing environment, you should never have to mess with any of that mess.

(and if you're not in the processing environment, please post in "integration" instead, so that i don't lose time trying to track down phantom bugs.)
Re: opengl errors with java 1.6.03 and processing-
Reply #4 - Oct 24th, 2007, 5:05pm
 
sorry about that, I will post these kind of problems in integration.

but thanks, including "gluegen-rt.jar" in my build path solved the problem.

Richard
Page Index Toggle Pages: 1