Hi,
I have installed java3D and am having some problems running it.
When I try the Morphing example I get the following error;
./runnit
Exception in thread "main" java.lang.IllegalMonitorStateException: current
thread not owner
at sun.awt.motif.MCanvasPeer.create(Native Method)
at sun.awt.motif.MComponentPeer.init(Compiled Code)
at sun.awt.motif.MComponentPeer.<init>(Compiled Code)
at sun.awt.motif.MCanvasPeer.<init>(Compiled Code)
at sun.awt.motif.MToolkit.createCanvas(Compiled Code)
at java.awt.Canvas.addNotify(Compiled Code)
at javax.media.j3d.Canvas3D.addNotify(Compiled Code)
at java.awt.Container.addNotify(Compiled Code)
at java.awt.Panel.addNotify(Compiled Code)
at java.awt.Container.addNotify(Compiled Code)
at java.awt.Window.addNotify(Compiled Code)
at java.awt.Frame.addNotify(Compiled Code)
at java.awt.Window.pack(Compiled Code)
at com.sun.j3d.utils.applet.MainFrame.build(Compiled Code)
at com.sun.j3d.utils.applet.MainFrame.<init>(Compiled Code)
at Morphing.main(Compiled Code)
and the runnit script is;
#! /bin/ksh
export OGL_NO_VBLANK=1
export JAVA3D_HOME/user/Java/jdk1.2fcs
export JAVA_HOME=/user/Java/jdk1.2fcs
export JAVA_COMPILER=sunwjit
export
CLASSPATH=.:$JAVA3D_HOME/jre/lib/ext/j3dutils.jar:$JAVA3D_HOME/jre/lib/ext/j3dco
re.jar:$JAVA3D_HOME/jre/lib/ext/vecmath.jar:lib
export LD_LIBRARY_PATH=
$JAVA_HOME/bin/java Morphing
Does anybody have any idea what this means?....or how I can fix it?
Thanks...
Bharat
-------
=====================================================================
To subscribe/unsubscribe, send mail to [EMAIL PROTECTED]
Java 3D Home Page: http://java.sun.com/products/java-media/3D/
[java3d] Morphing example
Bharat Purohit - Sun UK - Applications Engineer Mon, 1 Feb 1999 10:58:14 -0500
