• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

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
 
Well behaved women rarely make history - Eleanor Roosevelt. tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic