Hello all, I had been installel SDK, OpenGL for solaris and Java 3D but
when I try to run any Java 3D program, I get the next errors or exeption.
Can your help me with this.
The erros are the next:
When I run a stan alone progran I get:
[sabna#]java HolaJava3Da
Exception in thread "main"
java.lang.IllegalAccessError:sun/audio/HaeDevice
at sun.audio.J3DHaeStream.initialize(J3DHaeStream.java:70)
at
com.sun.j3d.utils.audiodev.JavaSoundMixer.initialize(JavaSoundMixer.j
ava:110)
at com.sun.j3d.utils.universe.Viewer.<init>(Viewer.java:160)
at
com.sun.j3d.utils.universe.SimpleUniverse.<init>(SimpleUniverse.java:
124)
at
com.sun.j3d.utils.universe.SimpleUniverse.<init>(SimpleUniverse.java: 90)
at HolaJava3Da.<init>(HolaJava3Da.java:24)
at HolaJava3Da.main(HolaJava3Da.java:46)
***********************************************************
And when I run a applet I get:
[sabna#]appletviewer HelloUniverse.html java.lang.NoClassDefFoundError:
javax/media/j3d/SceneGraphObject
at java.lang.Class.newInstance0(Native Method)
at java.lang.Class.newInstance0(Compiled Code)
at java.lang.Class.newInstance(Compiled Code)
at sun.applet.AppletPanel.createApplet(AppletPanel.java:532)
at sun.applet.AppletPanel.runLoader(AppletPanel.java:468)
at sun.applet.AppletPanel.run(Compiled Code)
at java.lang.Thread.run(Thread.java:485)
***********************************************************
My .cshrc file are
# @(#)cshrc 1.11 89/11/29 SMI umask 022
set path =(. /usr/java1.2/bin usr/bin /bin )
if ( $?prompt ) then
set history=50 endif
set prompt = "[sabna#]"
stty erase ^H setenv LD_LIBRARY_PATH
/usr/java1.2/Java3D/bin/sparc/green_threads:/var/sadm/pkg
:/opt/SUNWits/Graphics-sw/xgl-3.0/lib:/usr/openwin:/usr/openwin/lib
setenv CLASSPATH
/usr/java1.2:/usr/java1.2/lib:/usr/java1.2/Java3D/lib/appext/j3
dutils.jar:/usr/java1.2/Java3D/lib/sysext/j3dcore.jar:/usr/java1.2/Java3D/lib/sy
sext/vecmath.jar:/usr/java1.2/Java3D/lib/sysext/j3daudio.jar:.
***********************************************************
The SO
[sabna#]uname -a
SunOS sabna 5.6 Generic_105181-03 sun4u sparc SUNW,Ultra-5_10
***********************************************************
I was installed the new SDK 1.2 and all the patches for the Solaris
[sabna#]java -version java version "1.2.1"
Solaris VM (build Solaris_JDK_1.2.1_02, native threads, sunwjit)
Thanks in advanced for your Help
Elio Vega
Laboratorio de Visualizacion
http://www.labvis.unam.mx/~elio
National Autonomous University of Mexico
=====================================================================
To subscribe/unsubscribe, send mail to [EMAIL PROTECTED]
Java 3D Home Page: http://java.sun.com/products/java-media/3D/