Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 May 2005 11:18:24 +0200
From:      Andreas Kohn <andreas.kohn@gmx.net>
To:        "Maxson, Kristin" <KRISTIN.MAXSON@cubic.com>
Cc:        "'freebsd-java@freebsd.org'" <freebsd-java@freebsd.org>
Subject:   Re: Native Java3D [Samples hang]
Message-ID:  <1116407904.25402.55.camel@klamath.syndrom23.de>
In-Reply-To: <C1976F0390EDD34B97F22481AF6A877601BFE41B@harpo.corp.cubic.cub>
References:  <C1976F0390EDD34B97F22481AF6A877601BFE41B@harpo.corp.cubic.cub>

next in thread | previous in thread | raw e-mail | index | archive | help

--=-y4ZHeJAi4NB0dqYfP/jJ
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

On Tue, 2005-05-17 at 13:11 -0700, Maxson, Kristin wrote:
> Hi Andreas,
> =20
> I found your Native Java3D [Samples Hang]
> (http://lists.freebsd.org/pipermail/freebsd-java/2004-September/002784.ht=
ml
> <http://lists.freebsd.org/pipermail/freebsd-java/2004-September/002784.ht=
ml>
> )
> =20
> 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
> =20
> I typed in your suggestion export __GL_SINGLE_THREADED=3D1, however this =
did
> not work. I wonder if you came up with a similar issue when upgrading jav=
a?
> =20
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=
=3D/usr/local/jdk1.4.2/ LD_LIBRARY_PATH=3D/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.j=
ar:/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 =3D 1
[insert spinning cube here]
----------->8--------------

As you say you updated from 1.3.1 to 1.4.2, could you check whether=20
/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

--=-y4ZHeJAi4NB0dqYfP/jJ
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (FreeBSD)

iD8DBQBCiwhgYucd7Ow1ygwRAncxAJ9YB4zu2JXOpk28iq1AteaWaCqiPQCfb7o9
EnNc0D2heZEbXZIJmvWm/V8=
=uWNp
-----END PGP SIGNATURE-----

--=-y4ZHeJAi4NB0dqYfP/jJ--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1116407904.25402.55.camel>