Login  Register

Re: JOGL Application crashes on Windows 7 but runs fine in Eclipse

Posted by gouessej on Dec 21, 2011; 10:28am
URL: https://forum.jogamp.org/JOGL-Application-crashes-on-Windows-7-but-runs-fine-in-Eclipse-tp3600585p3603654.html

Hi

I used JOGL in an application based on Eclipse RCP; when I drag and drop an element from the tree to a particular EditorPart or ViewPart, it updates the 3D viewer. When I switched from JOGL 1.1.1a to JOGL 2.0, I did the same thing than you (+ GLProfile.initSingleton(false)) and it worked. You can still use com.jogamp.opengl.util.Animator, you don't need to use AnimatorBase.

Maybe the JOGL part of your application silently catches some exceptions. Do you have any error log? stack trace?

Edit.: put the JARs containing the native libraries into the same directory than jogl.all.jar and gluegen-rt.jar.
Julien Gouesse | Personal blog | Website