×

Notice

The forum is in read only mode.

Impact doesn't start: Jogl problem?

  • CAVT
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
11 years 3 weeks ago #7222 by CAVT
Hi, everyone:

I cannot start impact's GUI, only the splash screen appears and then nothing happens. Let me first say that I'm not using CAELinux but Arch Linux (I switched some years ago). When trying to start it from the console I get:
$ impact
 Exception in thread "main" java.lang.NoClassDefFoundError: javax/media/opengl/GLCanvas
 at java.lang.ClassLoader.defineClass1(Native Method)
 at java.lang.ClassLoader.defineClass(ClassLoader.java:800)
 at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
 at java.net.URLClassLoader.defineClass(URLClassLoader.java:449)
 at java.net.URLClassLoader.access$100(URLClassLoader.java:71)
 at java.net.URLClassLoader$1.run(URLClassLoader.java:361)
 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:425)
 at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
 at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
 at gui.ImpactGUI.jbInit(ImpactGUI.java:125)
 at gui.ImpactGUI.<init>(ImpactGUI.java:84)
 at gui.ImpactGUI.main(ImpactGUI.java:115)
 Caused by: java.lang.ClassNotFoundException: javax.media.opengl.GLCanvas
 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:425)
 at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
 at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
 ... 15 more
 New Impact Version: 706040
 Current Impact Version: 706038

That happened both with the .38 and the newer .40 version. I also tried with both the Arch Linux "package" and by simply extracting Impact out of the zip file from its website. Just to see if it helps, I copy below the starting script installed in Arch's /usr/bin:
#!/bin/sh

[ `uname -m` == "i686" ] && ARCH="i386"
[ `uname -m` == "x86_64" ] && ARCH="amd64"

export LD_LIBRARY_PATH="$JAVA_HOME/jre/lib/$ARCH":/usr/lib
export CLASSPATH=.:bin:doc:lib/*:/usr/share/java/jogl/*:"$JAVA_HOME"/jre/lib/ext/*

cd /opt/impact
"$JAVA_HOME/bin/java" -Xmx1000m -Xss1m -Djava.library.path="$LD_LIBRARY_PATH" gui.ImpactGUI -opengl

I'm using Arch Linux 64bit, with JRE7.u45_2.4.3, Java3D 1.5.2 and Jogl 2.0.2.

I hope you can help me, thanks in advance.

César
Moderators: catux
Time to create page: 0.116 seconds
Powered by Kunena Forum