JMF diagnostics

I recently installed JMF on my linux machine. I am using Linuxperformance pack. I tried running the diagonstics page on the website but it says JMF classes not found. I am using Firefox 1.5 and i have included the jmf.jar in class path.. When i try to run JMF based code.. i can realize the player.. It gives me can realize playere error and a code.. Has anybody encountered similar problems on Linux..

1. Fixe your CLASSPATH as metioned in
http://java.sun.com/products/java-media/jmf/2.1.1/setup-linux.html
2. Try the JMF Diagnostic applet in :
http://java.sun.com/products/java-media/jmf/2.1.1/jmfdiagnostics.html
Then in you encounter the message : JMF classes.....Not Found then we are in the same probleme ... hope that some one help us ...
I posted my problem on
http://forum.java.sun.com/thread.jspa?threadID=750005&messageID=4359829#4359829
hussam

Similar Messages

  • Failed in JMF diagnostics in netscape browser 7

    I installed J2sdk 1.4.3 and jmf2.1.1e in Redhat Linux 7.3 and following their installation instruction to set up some environment variables. However I encountered two problems in configuring JMF.
    One is that when I configured the jmf-2_1_1e-linux-i586.bin, some error messages came up as following,
    java.lang.error: Can't open video card 1
    ....................................................................2
    ....................................................................3
    .....................................................................9"
    The second one is that after I run JMF diagnostics applet program to verify JMF installation. However, it failed with the following error message,
    "Java1.1 compliant browser... Maybe
    JMF classes.... Not Found"
    I do not what is wrong with JMF installation. Does this failure come from uncompatible version between Java SDK and JMF, netscape browser or other things?
    Thanks for your time to reply.

    Did you set up the JMFHOME environment variable ?
    That would account for the classes not found bit.
    Not sure if you also need to set up ld.library.path... ( or something similarly named ).
    I haven't done much on Linux, but very carefully read the install docs...
    regards,
    Owen

  • Jmf diagnostics applet

    problem in jmf diagnostics applet
    i installed jmf, also set the class path using windows environment variables utility
    still i found problem
    Message was edited by:
    citymodel

    no one can give hints why there is such problem

  • JMF Diagnostics applet - how to resolve "JMF Classes not found"

    I am still having problems trying to get my USB camera to run in an applet.
    I'm using Windows XP with IE 6.
    I found the JMF Diagnostic Applet and when I run it, I get the following:
    Java 1.1 compliant browser.....Maybe
    JMF classes.....Not Found
    The text below says that CLASSPATH needs to include jmf.jar
    I have checked that and it does. I added all the jar files to the CLASSPATH as well and that did not help.
    I saw another post that said the JMFHOME environment variable needed to be set to the main JMF directory.
    I did that and still get the same error.
    Can anyone tell me what I need to set in order to make the JMF Diagnostic applet work???
    Thanks,

    I have exactly the same problem. Running XP pro and Java 5. Installed JMF2.1.1e and the diagnostic doesn't work. Don't know how to verify or set the CLASSPATH but assumed it was more plug and play.
    I'm a student and am writing my final year project which is supposed to be a multi-client concurrency based video clip app. All the sample codes I've seen make it look quite easy. I was wanting to prototype my concepts before I continue (glad there are some nifty buffer controls) I've unistalled, reinstalled, restarted an no joy and the only help that seems might work includes loads more files than what my distribution has (just have jmf.jar, customizer.jar, multiplayer,jar, mediaplayer.jar and sound.jar and that's it.
    I was a little worred about the need to have the API on my test client machines (aka housemates) now I'm really worried.

  • JMF - Diagnostics Applet generating error

    Hallo,
    I'm unable to start the diagnostic applet. I'm getting following error:
    java.lang.ClassFormatError: Incompatible magic value 1008813135 in class file JMFDiagnostics
         at java.lang.ClassLoader.defineClass1(Native Method)
         at java.lang.ClassLoader.defineClassCond(Unknown Source)
         at java.lang.ClassLoader.defineClass(Unknown Source)
         at java.security.SecureClassLoader.defineClass(Unknown Source)
         at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source)
         at sun.plugin2.applet.Plugin2ClassLoader.loadClass0(Unknown Source)
         at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source)
         at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at sun.plugin2.applet.Plugin2ClassLoader.loadCode(Unknown Source)
         at sun.plugin2.applet.Plugin2Manager.createApplet(Unknown Source)
         at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    Exception: java.lang.ClassFormatError: Incompatible magic value 1008813135 in class file JMFDiagnostics
    What is magic value? How could I correct this problem?
    whit regards
    Rafal Ziolkowski

    no one can give hints why there is such problem

  • HELP, Diagnostics Applet JMF classes.....Not Found

    Hi,
    I installed JMF and verified the jars are included in classpath and path, but when I run the diagnostic applet page, it still says Applet JMF classes not found, anyone has any idea?
    classpath:
    .;.;.;C:\PROGRA~1\JMF21~1.1E\lib\sound.jar;C:\PROGRA~1\JMF21~1.1E\lib\jmf.jar;C:\PROGRA~1\JMF21~1.1E\lib
    ;C:\WINDOWS\java\classes;.
    path:
    C:\Program Files\ThinkPad\Utilities;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program F
    iles\IBM\Infoprint Select;C:\Notes;C:\Program Files\XLView;C:\lotus\compnent;C:\Utilities;C:\Program Fil
    es\IBM\Personal Communications\;C:\Program Files\IBM\Trace Facility\;C:\Program Files\ThinkPad\ConnectUt
    ilities;C:\WINDOWS\Downloaded Program Files;C:\Program Files\Common Files\Lenovo;C:\Program Files\ATI Te
    chnologies\ATI Control Panel
    JMF Diagnostics:
    Java 1.1 compliant browser.....Maybe
    JMF classes.....Not Found
    http://java.sun.com/javase/technologies/desktop/media/jmf/2.1.1/jmfdiagnostics.html

    Everything looks fine as far as the setup goes... Unless you're having problems with a specific JMF application, I wouldn't worry about the diagnostic applet telling you it isn't installed correctly.
    Very well could be a browser security issue with the applet...

  • Problem in inbuilt Web-camera using JMF

    Hi,
    I am using JavaTM Media Framework 2.1.1e downloaded from below link in my application.
    http://www.oracle.com/technetwork/java/javasebusiness/downloads/java-archive-downloads-java-client-419417.html#7372-jmf-2.1.1e-oth-JPR .
    Main functionality of my app is to use Web-camera.
    My application is working fine on Windows XP and Windows 7 using external Web-Cam device.
    However, the same application is giving problem in accessing in-built Webcam on Windows 7.
    I tried to access in-built Web-Camera from JMStudio app(of JMF..File->Capture->check 'Use video device'-> Press 'Ok'), however JMStudio itself is not able to access in-built web-camera. Always I am getting the error 'Couldn't initialize the Capture Device!'.
    Please note that JMF Registry Editor(JMStudio->Preferences->Capture Device->Detect Capture Devices')is able to detect the inbuilt web-cam device.
    Is this the issue in JMF itself or I can resolve the issue from my application also?
    Also, when I tried to do online JMF diagnostics, I am getting below error.
    Online JMFDiagnostics URL: http://www.oracle.com/technetwork/java/javase/jmfdiagnostics-139189.html
    Java Plug-in 1.6.0_26
    Using JRE version 1.6.0_26-b03 Java HotSpot(TM) Client VM
    User home directory = C:\Users\taipakai
    c: clear console window
    f: finalize objects on finalization queue
    g: garbage collect
    h: display this help message
    l: dump classloader list
    m: print memory usage
    o: trigger logging
    q: hide console
    r: reload policy configuration
    s: dump system and deployment properties
    t: dump thread list
    v: dump thread stack
    x: clear classloader cache
    0-5: set trace level to <n>
    java.lang.ClassFormatError: Incompatible magic value 1008813135 in class file JMFDiagnostics
    at java.lang.ClassLoader.defineClass1(Native Method)
    at java.lang.ClassLoader.defineClassCond(Unknown Source)
    at java.lang.ClassLoader.defineClass(Unknown Source)
    at java.security.SecureClassLoader.defineClass(Unknown Source)
    at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source)
    at sun.plugin2.applet.Plugin2ClassLoader.loadClass0(Unknown Source)
    at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source)
    at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at sun.plugin2.applet.Plugin2ClassLoader.loadCode(Unknown Source)
    at sun.plugin2.applet.Plugin2Manager.createApplet(Unknown Source)
    at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
    Exception: java.lang.ClassFormatError: Incompatible magic value 1008813135 in class file JMFDiagnostics
    Please suggest.
    Thanks for your help in advance.
    Yogesh

    almightywiz wrote:
    Well, I don't know if the JMF Studio works on a 64-bit system, but the base java libraries work just as well as on a 32-bit system. I currently use both Windows 7 64-bit and 32-bit version, and I am able to recognize all of my audio input devices.JMF wraps around and makes use of a bunch of native interfaces, all of which are precompiled for 32-bit systems. As such, anything relying upon those 32-bit libraries will not work, and that cuts the functionality down to, essentially, the cross-platform pack stuff.
    JMF's sound infastructure is mostly a wrapper around JavaSound, so as long as JavaSound is working on the JRE, you'll be able to utilize the audio functionality.
    As for device detection, I know at least some of that is native code. I'm not 100% sure, but I'd almost expect the Windows performance pack to never return any devices on a 64-bit system, but the cross-platform back to return audio devices. This is an assumption, but, that's what I would expect.
    In any case, if you're using the Windows performance pack, you'd most likely get better results by switching to the cross-platform pack.

  • JMF with Fobs4jmf:  Problem getting supported formats

    I'm trying to use JMF with fobs4jmf to try stitching together video files into a single file. Fortunately, I found a sample program to do just that in the SDN website (http://java.sun.com/javase/technologies/desktop/media/jmf/2.1.1/solutions/Concat.html).
    I copied and pasted the Concat.java class in a new Eclipse Java class, set up the classpaths, and tested it. (I've gone through the pain of setting up and resetting classpaths so that the JMF diagnostics is able to detect the correct JMF installation in my machine).
    However, in the tryMatch method of Concat.java, I am getting an empty array of Format objects, represented by the "supported" variable, during a call to the following:
    {color:#0000ff}TrackControl tc = pInfo[0].tracksByType[type][trackID].tc;
    Format origFmt = tc.getFormat();
    Format newFmt, oldFmt;
    Format supported[] = tc.getSupportedFormats();
    for (int i = 0; i < supported.length; i++) {
    if (supported[i] instanceof AudioFormat) {
    // If it's not the original format, then for audio, we'll
    // only do linear since it's more accurate to compute the
    // audio times.
    if (!supported.matches(tc.getFormat()) &&
    !supported[i].getEncoding().equalsIgnoreCase(AudioFormat.LINEAR))
    continue;
    {color:#000000}Here's my problem: While on debug mode, I see that the "supported" variable shows an empty array, when I look deeper in the TrackControl tc variable and look the its supportedFormats instance variable, I can see that it has a value. For my testing, I used a .mov file and the supportedFormats variable contains an {color:#0000ff}AudioFormat{color} with the value {color:#0000ff}mp4a, 32000.0 Hz, 16-bit, Stereo, BigEndian, Signed, FrameSize=32 bits{color}.
    {color}
    {color:#000000}I can't get past through this hurdle for now. Why am I getting an empty array of Format objects when the TrackControl tc variable actually contains value in its supportedFormats property?
    I'd appreciate any help on this matter.
    Anthony
    {color}
    {color}

    I again don't have my code in front of me, but I did take a look at the sample code my code is based on...
    Format format = tracks.getFormat();
    if (tracks[i].isEnabled()) {
    supported = tracks[i].getSupportedFormats();
    Just a shot in the dark, but perhaps getSupportedFormats returns the empty set when the TrackControl object is disabled?
    Try enabling the TrackControl before you try to get its supported formats, and see if that changes the behavior in any sort of meaningful way?                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Please help me with setting up JMF on xp

    Hi,
    I've installed JMF, but when I try to run the JMF Diagnostics Applet I get the following error:
    java.lang.ClassNotFoundException: JMFDiagnostics
    I'm sure I have set the correct classpath variables,i.e.
    c:\java\JMF2.1.1E\lib\sound.jar;
    c:\java\JMF2.1.1E\lib\jmf.jar;
    c:\java\JMF2.1.1E\lib\custom.jar;
    c:\java\JMF2.1.1E\bin;
    c:\java\JMF2.1.1E\lib;
    but I just can't get it to work.
    I would really appreciate some guidance here so I can make some progress.
    Thanks

    I have been using JMF and developing JMF applications on Windows XP. There is no problem.
    I suggest that you install "JMF windows performance kit". After you have installed it, check your CLASSPATH variables under My Computer -> Advance ->Environment Variables.
    Check if the CLASSPATH variable exists in System variables and User variables. If you find CLASSPATH variables in both System and User variables you should combine them into one, i.e., only one CLASSPATH variable should exists. It could either be in User Variables or System variables. But never in both places.
    After that check that your "<java installation directory>\bin" path is the first path int the PATH environment variable. Again this can either be under System or User but should never exist in both places.
    After that you can try and run Diaganostic Applet again to see if everything is alright...
    good luck.
    soe

  • I can't install JMF on Red Hat Linux . Please help

    Dear All,
    I want to use webcam on linux. But the JMF on linux is unable.
    I have follow the instructions on Sun. But there were always errors. Then i used JMFDIAGNOSTICS to test my JMF. It reported:
    JMF Diagnostics:
    Java 1.1 compliant browser.....Maybe
    JMF classes.....Not Found (But I do have set the CLASSPATH to the location where I installed the JMF in)
    Can anybody do me a favour?
    Is there anybody have successful experience on using JMF on linux? if so, can you give me some advice?
    Thanks in advance!
    [email protected]
    Randy Yang

    Hi,
    It seems that we have the same problem. If you have solved your problem could you post the solution please...
    If not yet , you may find some usefull information on :
    http://forum.java.sun.com/thread.jspa?threadID=750005&tstart=0
    Thx in either cases

  • Trouble installing jmf

    I having trouble installing jmf on my laptop runing Windows XP. I downloaded the jmf-2_1_1e-windows-i586.exe onto my computer and it run succesfully, but I am still not able to import javax.media into my jdk. When I run JMF diagnostics it also tells me that JFM classes - Not Found.
    Can someone please help?

    jmf-2_1_1e-windows-i586.exe is designed for Windows 9X or NT4.0. So, it may very well not install correctly.
    You'll probably need to setup your environmental variables yourself. If you're using an IDE, you need to manually add JMF.jar to your list of project libraries.

  • What classpath setting is needed for JMF 2.1.1.

    What classpath setting is needed to get JMF2.1.1 working on WindowsXP?
    I want to run some of my JMF code ..but am unable to do so ...please help ...thank you!!

    Hi
    When you install JMF2.1.1, Windows Performance Pack the classpath will be automatically set but i am still giving you the files for which the classpath has to be set.
    JMF21~1.1\LIB\SOUND.JAR;
    JMF21~1.1\LIB\JMF.JAR;
    JMF21~1.1\LIB\CUSTOM.JAR.;
    Try this and it will work.
    Also to check the working there is a class file which performs JMF Diagnostics, if you can give me your contact email, i can send you that file and how to use it.
    Thanks
    Swaraj

  • Problem for installing JMF

    Dear friends,
    I have installed the jmf cross platform version in ubuntu (in debian lenny also facing same problem). Jmf version is 2.1.1e.
    I have unzipped that package under /opt directory.
    It was installed successfully, without any problem.
    Then I have checked the JMF installation using this below link,
    http://ku-prism.org/virtualprism/explorations/JavaTest/javatestpage.html
    For J2RE checking it was success, It display the below message in the applet window,
    JRE version ... 1.5.0_06
    For JMF installation checking , It display the below message in the applet window,
    JMF Diagnostics:
    Java 1.1 compliant browser.....Maybe
    JMF classes.....Not Found
    What could be the problem ?
    Can any one guide me to install JMF successfully in my machine.
    Thanks,

    Please tell me how to solve this problem!
    Thanks!

  • JMF setup

    I'm running WinXP and downloaded the crossplaform JMF 2.1.1e and installed it in a directory C:\JMF-2.1.1e
    Here is some info:
    C:\windows\system32>java -version
    java version "1.5.0_07"
    Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_07-b03)
    Java HotSpot(TM) Client VM (build 1.5.0_07-b03, mixed mode, sharing)
    C:\windows\system32>set JMFHOME
    JMFHOME=C:\JMF-2.1.1e
    C:\windows\system32>set CLASSPATH
    CLASSPATH=C:\JMF-2.1.1e\lib\jmf.jar;C:\JMF-2.1.1e\lib\customizer.jar;.;C:\ant-1.
    5.1\lib\ant.jar;C:\ant-1.5.1\lib\optional.jar;C:\ant-1.5.1\lib\xercesImp.jar;C:\
    ant-1.5.1\lib\xml-apis.jar;%JAVA_HOME%\lib\tools.jar;%JAVA_HOME%\src.jar;%JAVA_H
    OME%\jre\lib\rt.jar;c:\bea\weblogic700\server\lib\weblogic.jar;C:\projects\J2EEC
    MS\Development\redist\jakarta-log4j-1.2.8\dist\lib\log4j.jar;C:\Program Files\Java\j2re1.4.2_11\lib\ext\QTJava.zip
    When I run the JMF Disanostics, I get:
    JMF Diagnostics:
    Java 1.1 compliant browser.....Maybe
    JMF classes.....Not Found
    I'm using the latest Firefox browser. any suggestions?
    Thanks!
    Brenda

    When I run the JMF Disanostics, I get:
    JMF Diagnostics:
    Java 1.1 compliant browser.....Maybe
    JMF classes.....Not Found
    I'm using the latest Firefox browser. any
    suggestions?Are you especially interested in running JMF
    based applets in that browser?
    The reason I ask is that I have WinXP, installed
    the JMF Performance Pack, used JMStudio
    to do some data conversions (stripping audio
    tracks out of MOV's) used the JMF to stitch
    together JPEG's into MOV's, developed a few
    toy JMF apps., deployed them using web start..
    yet my IE still reports the exact same message
    as above. It cannot run JMF applets, and I
    completely don't care.
    Does JMStudio work for you?

  • Why I get this exception in an applet?

    I run the JMF Diagnostics Applet in my IE5.0,
    while in the applet area,there's only the message:
    Exception:java.security.AccessControlException:access denied(java.net.SocketPermission samples resolve).
    The target of this applet is just using the method "Class.forName()" to find whether JMF has been installed in the visitors machine.
    How could I resolve this problem?
    thx

    Frequently Asked Questions - Java Security
    http://java.sun.com/sfaq/
    Most Applets are prevented from accessing the underlying computer. If you are learning Java, build regular applications to avoid many of the security issues of Applets.
    In general, applets are prevented from reading and writing files on the client file system, and from making network connections except to the originating host.
    In addition, applets are prevented from starting other programs on the client. Applets are also not allowed to load libraries, or to define native method calls. If an applet could define native method calls, that would give the applet direct access to the underlying computer.

Maybe you are looking for

  • Certain songs won't sync

    Iphone 5s. Just changed to a new computer. All of the songs are in the Library and in the correct play list. They are also recognized and playing via Apple TV.  However, around 60 songs, most of which are recent purchses, will not sync to the Iphone.

  • Any opinions on if I should repair my old powerbook or just buy a new one?

    Alright, here's the situation. I have a Tipowerbook 867 (upgraded to 512 ram) that's a bit over two and a half years old. Over this two plus year period, I have used this powerbook quite a lot, pretty much every single day for several hours at a mini

  • Windows Web Services - Unsupported media type

    Hi, I'm trying to migrate a web service from .NET WCF to C++ Windows Web Services API. I generated .c and .h files using WSDL, create few wrappers and incorporated it into the C++ code and try it using a gSOAP client. Sadly, it wasn't working. Here i

  • Movie artwork does not save on iTunes.

    I add the artwork but after I hit OK there is no artwork anymore.  This is on iTunes 11.1.3 (8).  I use to be able on older versions of iTunes to add artwork to my movies but I have not been able to for over a month.

  • All my songs are no "unchecked" -- Help !

    Somehow all the songs in my library became "unchecked". I can't seem to figure out how to execute a "Select All" and put the check marks back. Please don't tell me that I have to individually check 6,000 songs ! Thanks