Native Java3D [Samples hang]

Andreas Kohn andreas.kohn at gmx.net
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]
> (http://lists.freebsd.org/pipermail/freebsd-java/2004-September/002784.html
> <http://lists.freebsd.org/pipermail/freebsd-java/2004-September/002784.html>
> )
>  
> 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?
>  
Hi,

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:

-----8<------------
[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]
----------->8--------------

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.

HTH,
Andreas
-------------- 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 : http://lists.freebsd.org/pipermail/freebsd-java/attachments/20050518/636eb90d/attachment.bin


More information about the freebsd-java mailing list