From owner-freebsd-java@FreeBSD.ORG Wed May 18 09:18:29 2005 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4022C16A4CE for ; Wed, 18 May 2005 09:18:29 +0000 (GMT) Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by mx1.FreeBSD.org (Postfix) with SMTP id 1863243D81 for ; Wed, 18 May 2005 09:18:28 +0000 (GMT) (envelope-from andreas.kohn@gmx.net) Received: (qmail invoked by alias); 18 May 2005 09:18:26 -0000 Received: from unknown (EHLO klamath.syndrom23.de) [212.204.44.203] by mail.gmx.net (mp014) with SMTP; 18 May 2005 11:18:26 +0200 X-Authenticated: #2431876 From: Andreas Kohn To: "Maxson, Kristin" In-Reply-To: References: Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-y4ZHeJAi4NB0dqYfP/jJ" Date: Wed, 18 May 2005 11:18:24 +0200 Message-Id: <1116407904.25402.55.camel@klamath.syndrom23.de> Mime-Version: 1.0 X-Mailer: Evolution 2.2.1.1 FreeBSD GNOME Team Port X-Y-GMX-Trusted: 0 cc: "'freebsd-java@freebsd.org'" Subject: Re: Native Java3D [Samples hang] X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 May 2005 09:18:29 -0000 --=-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 > > ) > =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--