David,

Thanks very much for the quick reply. My classpath was the 1st thing I checked before 
posting & seemed to be fine - normally I have no problems running J3D applets in a 
Browser. I was just about to send a listing of my CLASSPATH when I noticed there was 
actually a typo in it. Instead of "c:\jdk1.2\jre\lib\ext\j3daudio.jar" it said " 
c:\jdk1.2\jre\lib\ext\j3audio.jar". 

So that was it - I fixed the typo, the applet works now, panic over. 

Thanks again,
Tom Richards

-----Original Message-----
From:   David Valosek [SMTP:[EMAIL PROTECTED]]
Sent:   Tuesday, March 09, 1999 6:28 PM
To:     T.G. Richards
Subject:        Re: [java3d] [Java3d] Error running "SimpleSounds" example inBrowser

Tom,

I still very new at Java and Java3D, but you might want to check your CLASSPATH
definition if you are running under Windows NT or Windows 95/98.  Also, I had to
move make sure I had the J3D.DLL and J3DAUDIO.DLL in my \WINNT\SYSTEM32
directory.

Hope this helps.
David Valosek
Dallas, TX




"T.G. Richards" <[EMAIL PROTECTED]> on 03/09/99 11:38:13 AM

To:   "Java3d-Interest (E-mail)" <[EMAIL PROTECTED]>
cc:    (bcc: David Valosek/AEPT/ARCO)
Subject:  [java3d] [Java3d] Error running "SimpleSounds" example in Browser




Hi there,

I wonder if anyone else has had problems running the SimpleSounds example applet
in a Browser? It worked fine in appletviewer, so I ran the SimpleSounds.html
file through the Java Plug-In HTML Converter to make it invoke JRE1.2 from
within a Browser. But I just get this error message, both with Netscape & IE4:

"java.lang.NoClassDefFoundError: com/sun/j3d/audio/J3DHaeStream  at
com.sun.j3d.utils.universe.Viewer.createAudioDevice(Viewer.java:325)  at
SimpleSounds.<init>(Compiled Code)      at java.lang.Class.newInstance0(Native
Method)  at java.lang.Class.newInstance(Class.java:239)    at
sun.applet.AppletPanel.createApplet(AppletPanel.java:532)   at
sun.plugin.AppletViewer.createApplet(AppletViewer.java:759)      at
sun.applet.AppletPanel.runLoader(AppletPanel.java:468)      at
sun.applet.AppletPanel.run(Compiled Code)    at
java.lang.Thread.run(Thread.java:479)"

This _must_ be a FAQ, but I can't find any references to the problem anywhere.
Does anyone know of a fix?

Thanks very much,
Tom Richards,
University of Bath, UK

==================================To subscribe/unsubscribe, send mail to
[EMAIL PROTECTED]
Java 3D Home Page: http://java.sun.com/products/java-media/3D/




�����������������������
To subscribe/unsubscribe, send mail to [EMAIL PROTECTED]
Java 3D Home Page: http://java.sun.com/products/java-media/3D/

Reply via email to