Java library error: Help Needed.

Dick Dowdell dick.dowdell at gmail.com
Tue Apr 13 18:25:20 UTC 2010


On Mon, Apr 12, 2010 at 11:45 PM, MirJafar Ali <mirjafarali at gmail.com>wrote:

> Hello,
>
> When I try to compile some java code, I get the following error message. I
> don't know Java, so can
> someone tell which software I must download from Ubuntu repository to get
> rid of this error ?
>
> Thanks.
> Mir.
>
> @mumble-23:~/Downloads/walrus-0.6.3$ java -cp
> mp.jar:antlrall-mod.jar:libsea.jar:walrus.jar H3Main
> Exception in thread "main" java.lang.NoClassDefFoundError:
> javax/media/j3d/Canvas3D
> Caused by: java.lang.ClassNotFoundException: javax.media.j3d.Canvas3D
>         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:319)
>         at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:264)
>         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:332)
>
>
> --
> ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
>
>
Hi,

I do not believe that the Java 3D libraries are installed with the basic
java6 installation.

A search shows the following libraries are installable with "sudo apt-get
install".

   - libjava3d-java - Java 3D API (java library)
   - libjava3d-java-doc - Documentation for the Java3D API
   - libjava3d-jni - Java3D API (java jni library)

I hope that this helps.

Regards,
Dick Dowdell
508-498-7919/508-528-4018
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20100413/89515efe/attachment.html>


More information about the ubuntu-users mailing list