• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Liutauras Vilda
  • Ron McLeod
Sheriffs:
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Saloon Keepers:
  • Scott Selikoff
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
  • Frits Walraven
Bartenders:
  • Stephan van Hulst
  • Carey Brown

applet wont run

 
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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)
 
Ranch Hand
Posts: 85
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
I like you because you always keep good, crunchy cereal in your pantry. This tiny ad agrees:
Smokeless wood heat with a rocket mass heater
https://woodheat.net
reply
    Bookmark Topic Watch Topic
  • New Topic