This discussion is archived
1 Reply Latest reply: Nov 28, 2010 3:15 PM by SproketBoy RSS

java.lang.NoClassDefFoundError

818240 Newbie
Currently Being Moderated
Hi all,

I've been trying to install a java-based software on Ubuntu 10.10.

Once I launch the code (./runHydra), I get this message and I don't know what to do...

Traceback (innermost last):
File "/opt/HYDRA/hydra/DataSelect.py", line 16, in ?
java.lang.NoClassDefFoundError: javax/media/j3d/Group
     at java.lang.Class.forName0(Native Method)
     at java.lang.Class.forName(Class.java:186)
     at org.python.core.SyspathJavaLoader.loadClass(SyspathJavaLoader.java)
     at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
     at org.python.core.Py.findClassEx(Py.java)
     at org.python.core.SysPackageManager.findClass(SysPackageManager.java)
     at org.python.core.PackageManager.findClass(PackageManager.java)
     at org.python.core.SysPackageManager.findClass(SysPackageManager.java)
     at org.python.core.PyJavaPackage.__findattr__(PyJavaPackage.java)
     at org.python.core.imp.importFromAs(imp.java)
     at org.python.core.imp.importFrom(imp.java)
     at org.python.pycode._pyx0.f$0(/opt/HYDRA/hydra/DataSelect.py:16)
     at org.python.pycode._pyx0.call_function(/opt/HYDRA/hydra/DataSelect.py)
     at org.python.core.PyTableCode.call(PyTableCode.java)
     at org.python.core.PyCode.call(PyCode.java)
     at org.python.core.Py.runCode(Py.java)
     at org.python.core.__builtin__.execfile_flags(__builtin__.java)
     at org.python.util.PythonInterpreter.execfile(PythonInterpreter.java)
     at org.python.util.jython.main(jython.java)
Caused by: java.lang.ClassNotFoundException: javax.media.j3d.Group
     at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
     at java.security.AccessController.doPrivileged(Native Method)
     at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
     at java.lang.ClassLoader.loadClass(ClassLoader.java:321)
     at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
     at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
     ... 19 more

java.lang.NoClassDefFoundError: java.lang.NoClassDefFoundError: javax/media/j3d/Group


Do you need other information to sort this out?

Thanks,

Rafmatt

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points