Native Java3D [Samples hang]

Andreas Kohn andreas.kohn at gmx.net
Tue Aug 31 13:52:39 PDT 2004


On Mon, 2004-08-30 at 22:52, Greg Lewis wrote:
> On Mon, Aug 30, 2004 at 01:26:58PM -0600, Greg Lewis wrote:
> > On Mon, Aug 30, 2004 at 12:45:48PM -0600, Greg Lewis wrote:
> > > If anyone is interested, please grab the source code and apply the attached
> > > patch to the j3d-core sub-project.  Then just follow the build and use
> > > instructions as normal.
> > 
> > D'oh.  You also need the attached tarball unpacked in j3d-core.  These are
> > new files required for the build.  Sorry 'bout that...
> 
> Looks like the attachment was stripped.  You can get the diff and the
> tarball at
> 
> http://www.eyesbeyond.com/freebsddom/java/j3d-core.diff
> http://www.eyesbeyond.com/freebsddom/java/j3d-core.tar.gz

I can compile it without problems. But running sample applications gives
only a gray window.

I compiled vecmath, copied the jar to /usr/local/share/java/classes,
compiled j3d-core, copied both jar's to /usr/local/share/java/classes,
and the libj3dcore-ogl.so & libj3dutils.so from
build/freebsd-i586/opt/lib/i386 to /usr/local/lib.

I can see no errors when running the samples:

$java -cp
/usr/local/share/java/classes/j3dcore.jar:/usr/local/share/java/classes/j3dutils.jar:. HelloUniverse

Java 3D pre-release version: 1.3.2-build5-experimental 8/30/04 11:41:53
PM CEST
[program seem to hang, does not react on clicks or keypresses.]


The hung process is in state "RUN" according to top, it uses only
minimal amount of CPU. I need to kill -KILL the process to get rid of
it.

--
Machine information:
AMD Athlon 1200, 256M RAM, nVidia Geforce 2 MX (32M) with binary nvidia
6113 drivers. X.Org 6.7.9.902 (compiled from sources). Two monitors
attached (TV-Out and CRT).
Direct Rendering is working, glxgears gives rotating accelerated gears.
A tomcat is running on the machine, no other java processes. Libmap.conf
maps -lpthread to -lc_r. 

FreeBSD klamath.ankon.de.eu.org 6.0-CURRENT FreeBSD 6.0-CURRENT #14: Mon
Aug 23 01:20:04 CEST 2004    
root at klamath.ankon.de.eu.org:/usr/obj/usr/src/sys/KLAMATH  i386



How can I help?

Regards,
--
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/20040831/537735a9/attachment.bin


More information about the freebsd-java mailing list