Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 2 of 2

Thread: Java error while Playing Video file.

  1. #1
    Junior Member
    Join Date
    Sep 2010
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Smile Java error while Playing Video file.

    I have installed JMF(java Media Framework) in linux machine.

    Exception in thread "main" java.lang.NoClassDefFoundError: javax/media/NoPlayerException
    at MediaTest.main(MediaTest.java:46)
    Caused by: java.lang.ClassNotFoundException: javax.media.NoPlayerException
    at java.net.URLClassLoader$1.run(URLClassLoader.java: 217)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.j ava:205)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:3 23)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launche r.java:294)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:2 68)
    at java.lang.ClassLoader.loadClassInternal(ClassLoade r.java:336)
    -------------------------------------------------------------------------------------

    Please help...!!!!
    Thanks in advance..


  2. #2
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Location
    Eastern Florida
    Posts
    25,145
    Thanks
    65
    Thanked 2,720 Times in 2,670 Posts

    Default Re: Java error while Playing Video file.

    .NoClassDefFoundError: javax/media/NoPlayerException
    the JVM can not find the class: javax.media.NoPlayerException
    You need to find the library/jar file the class is in and add it to the classpath so the JVM can find it.

Similar Threads

  1. ERROR WHILE PROCESSING JSF FILE
    By Pankaj in forum JavaServer Pages: JSP & JSTL
    Replies: 3
    Last Post: July 10th, 2010, 12:42 AM
  2. Replies: 5
    Last Post: June 10th, 2010, 10:19 AM
  3. Playing .wav file
    By harsha in forum What's Wrong With My Code?
    Replies: 1
    Last Post: March 27th, 2010, 11:33 PM
  4. playing sound using java
    By sdhilipan89 in forum Java Applets
    Replies: 6
    Last Post: March 25th, 2010, 08:59 AM
  5. Error while deploying .ear file
    By urslalitha in forum Exceptions
    Replies: 1
    Last Post: August 18th, 2009, 02:56 AM