PDA

View Full Version : [ubuntu] Java 3d: Canvas 3d error



mrjb
October 28th, 2009, 06:05 PM
Hi,

I'm working in Ubuntu 9.04 with Java 1.6 and have just installed Java 3d 1.5.1. This was done using: http://www.icram.de/node/85 as a guide. This seemed to work fine.

When I run any Java 3d program on my system I always get the same error: java.lang.NoClassDefFoundError: javax/media/j3d/Canvas3D

At the moment all java 3d programs I have on my system extend Applet, and display the 3d image on a Canvas3D.

Any ideas folks?

...Cos at the moment I'm having to use windows instead to write Java3d programs, which is annoying cos I have to keep restarting the machine into different operating systems.

JB