java - Running jzy3d demos result in ClassNotFoundException -
the problem follows, during startup of jzy3d demo scatterdemo.java :
exception in thread "main" java.lang.noclassdeffounderror: javax/media/opengl/glprofile @ org.jzy3d.chart.settings.<init>(settings.java:19) @ org.jzy3d.chart.settings.getinstance(settings.java:48) @ org.jzy3d.analysis.analysislauncher.open(analysislauncher.java:18) @ org.jzy3d.analysis.analysislauncher.open(analysislauncher.java:13) @ org.jzy3d.demos.scatter.scatterdemo.main(scatterdemo.java:16) caused by: java.lang.classnotfoundexception: javax.media.opengl.glprofile @ java.net.urlclassloader$1.run(urlclassloader.java:366) @ java.net.urlclassloader$1.run(urlclassloader.java:355) @ java.security.accesscontroller.doprivileged(native method) @ java.net.urlclassloader.findclass(urlclassloader.java:354) @ java.lang.classloader.loadclass(classloader.java:424) @ sun.misc.launcher$appclassloader.loadclass(launcher.java:308) @ java.lang.classloader.loadclass(classloader.java:357) ... 5 more java result: 1
configuration netbeans 7.3.1, jzy3d-api-0.9.1, jzy3d-swt-0.9.1, log4j-1.2.17, gluegen-rt (latest stable), jogl-all (latest stable), jdk1.7
i aware of following change (moving of javax.media.opengl com.jogamp.opengl, https://jogamp.org/bugzilla/show_bug.cgi?id=682). have gone through usual process of including .jar files project.
project compiles fine, not run.
my question(s) are: can somehow redirect javax.media.opengl.* com.jogamp.opengl.* ? correct way resolve problem?
as can see here, code on master branch (0.9.2) isn't based on latest version of jogl. please ask martin pernollet make necessary changes (replace javax.media.* com.jogamp.*) or yourself. can rebuild jzy3d test modifications of import clauses. correct way of solving simple problem.
Comments
Post a Comment