jmf and netscape

A

A

I would like to use the java media frame work to play video clips in
an applet. netscape 7.1 allways replies
java.lang.NoClassDefFoundError: javax/media/ControllerListener
although I have set the classpath for jmf.jar and sound.jar .
there are several jres on my machine. where is it looking for the
class?
 
A

Andrew Thompson

I would like to use the java media frame work to play video clips in
an applet.
URL?

..netscape 7.1 allways replies
java.lang.NoClassDefFoundError: javax/media/ControllerListener

Have you tried it in other browsers?
Same problem?
although I have set the classpath for jmf.jar and sound.jar .

Applets do not use the classpath.

You need to specify the JMF jar in the applet's
'archive' tag, see this for turther details
<http://java.sun.com/docs/books/tutorial/applet/appletsonly/html.html>

Of course this would be so much quicker and
easier with your URL, I could be looking at
your applet tags, validating the HTML...
right now.
 
R

Roedy Green

I would like to use the java media frame work to play video clips in
an applet. netscape 7.1 allways replies
java.lang.NoClassDefFoundError: javax/media/ControllerListener
although I have set the classpath for jmf.jar and sound.jar .
there are several jres on my machine. where is it looking for the
class?

Run wassup to see what Netscape thinks the classpath is. I think it
ignores SET Classpath.

see http://mindprod.com/jgloss/wasup.html
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Members online

No members online now.

Forum statistics

Threads
474,432
Messages
2,571,681
Members
48,796
Latest member
Greg L.

Latest Threads

Top