|
Sweet Home 3D Forum » List all forums » » Forum: Developers » » » Thread: java.lang.NoClassDefFoundError: javax/media/opengl/GLCapabilitiesChooser |
|
| Print at Dec 20, 2025, 12:12:37 PM | View all posts in this thread on one page |
| Posted by danielfranklinr at Apr 5, 2012, 8:12:59 PM |
|
java.lang.NoClassDefFoundError: javax/media/opengl/GLCapabilitiesChooser Hello everyone. I just downloaded SweetHome 3d v3.4 src and followed the instructions given in the readme file to install it on a OS x 10.7.2. The project was succesfully imported into eclipse and the VM argument -Djava.ext.dirs=lib:lib/macosx was included to run the project as a Java Application (SweetHome3d.java) and a Java Applet (SweetHome3dViewer.java) The Java Application runs just fine, but when i start the Applet it gives me the following stack trace: I went to the directory lib/macosx and the following files could be found: gluegen-rt.jar jogl.jar libgluegen-rt.jnilib libjogl_awt.jnilib libjogl_cg.jnilib libjogl.jnilib I would like to know if I'm missing something here. |
| Posted by Puybaret at Apr 5, 2012, 10:58:19 PM |
|
Re: java.lang.NoClassDefFoundError: javax/media/opengl/GLCapabilitiesChooser Since it's more realistic, I generally run the applet from a browser after running Ant applet target. If you run it with appletviewer from Eclipse and didn't change the working directory set to classes folder by default, set VM arguments to -Djava.ext.dirs=../lib:../lib/macosx---------------------------------------- Emmanuel Puybaret, Sweet Home 3D creator |
| Posted by danielfranklinr at Apr 6, 2012, 7:55:19 PM |
|
Re: java.lang.NoClassDefFoundError: javax/media/opengl/GLCapabilitiesChooser Thank you very much for your help. I applied the change you mentioned, but it gave me an error opening the default sh3d file. However, i used the Ant file and managed to run the applet in a browser like you said. Thanks again. |
|
|
Current timezone is GMT Dec 20, 2025, 12:12:37 PM |