Native Java3D [Samples hang]

Andreas Kohn andreas.kohn at
Wed May 18 02:18:29 PDT 2005

On Tue, 2005-05-17 at 13:11 -0700, Maxson, Kristin wrote:
> Hi Andreas,
> I found your Native Java3D [Samples Hang]
> (
> <>
> )
> I have a similar problem; I made sure vecmath.jar is in my path. My
> application will work with java 1.3.1 and when I upgrade to 1.4.2, I have
> the problem of the screen not showing (displaying a red X)... stating
> java.lang.NoClassDefFoundError: javax/vecmath/Tuple3d
> I typed in your suggestion export __GL_SINGLE_THREADED=1, however this did
> not work. I wonder if you came up with a similar issue when upgrading java?

Actually, I never used java3d for more than a few tests back then. I
tried it now, and it is working for me with jdk1.4.2:

[klamath] /usr/ports/java/java3d/work/demo/java3d/HelloUniverse>JAVA_HOME=/usr/local/jdk1.4.2/ LD_LIBRARY_PATH=/usr/local/jdk1.4.2/jre/lib/i386/ /usr/local/jdk1.4.2/bin/java -cp /usr/local/jdk1.4.2/jre/lib/ext/j3dcore.jar:/usr/local/jdk1.4.2/jre/lib/ext/j3dutils.jar:/usr/local/jdk1.4.2/jre/lib/ext/vecmath.jar:. HelloUniverse

Java 3D: concurrent threadLimit = 1
[insert spinning cube here]

As you say you updated from 1.3.1 to 1.4.2, could you check whether 
/etc/libmap.conf contains correct references to the java3d libs in your
$JAVA_HOME/jre/lib directory? Are the files really there? It may be
necessary to recompile java3d with your 1.4.2 java, too.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: This is a digitally signed message part
Url :

More information about the freebsd-java mailing list