• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

applet wont run

 
AKEEL MALIK
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
my programs compile but when I run the applet i get the following error
the morphcam class extends JPanel and uses the jmf package, and Morph has got the morphcam panel added to it.
i would like to know why i get the following erro
java.lang.NoClassDefFoundError: javax/media/CaptureDeviceManager
at MorphCam.(MorphCam.java:63)
at Morph.(Morph.java:47)
 
Heonkoo Lee
Ranch Hand
Posts: 85
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by AKEEL MALIK:
java.lang.NoClassDefFoundError: javax/media/CaptureDeviceManager
at MorphCam.(MorphCam.java:63)
at Morph.(Morph.java:47)


Looks like the client side JRE is complaining about the missing CaptureDeviceManager class. Is it accesible by the MorphCam class at the client side?
 
AKEEL MALIK
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I've found out that the archive tag is needed.
archive = "jmf.jar" and I have the jar file in the same directory as the applet file
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic