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

Similar Messages

  • 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

  • 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

  • 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...

  • JMF-based applet can not detect audio devices on Vista (?)

    Hi,
    As many people reported, I encountered the same issue - CaptureDeviceManager.getDeviceList does not detect any audio device on IE/Vista.
    Here is my testing environment:
    HP XW4600, RealTek HD Audio onboard sound card,
    Vista SP1 (Business, Home Premium, and Vista64)
    JRE1.5.0_16, JMF2.1.1e
    A recording Applet runs in IE7 (which works fine on XP and its Java application version always works fine on Vista)
    I have tried a number of things without success:
    1)Use different audio formats as the input parameter for getDeviceList
    2)Try CaptureDeviceManager.getDevice(new String("DirectSoundCapture"))
    3)CaptureDeviceInfo info = new CaptureDeviceInfo(com.sun.media.protocol.dsound.DataSource.NAME,new MediaLocator("dsound://"),null);
    4) Vector devices = (Vector) CaptureDeviceManager.getDeviceList(null).clone();
    5)Uncheck UAC(Vista User Access Control)
    6)Set IE settings least restrictive
    7)Try signed or unsigned recording Applet
    8)Pack the recording Applet to a jar and deploy to JRE\lib\ext
    9)Run JMFInit and copy the files in JMF\Lib to System32 folder
    On a few occasions, audio devices can be detected. For examples,
    10)Upgrading an HP XW4200 (XP machine with AC�97 codecs driver) to Vista,
    11)1/5 chance on the machines with both Sun JRE and MS Java SDK installed.
    12)Trying Item # 9. it worked once on one machine, but after rebuilding the machine, the same trick does not play.
    I am wondering if there is a way to let JMF-based applets detect audio devices on Vista or this is an inherent problem with JMF, IE and Vista.
    I would appreciate it very much if you�d kindly offer any help and suggestions.
    -Belfield

    >
    As many people reported, I encountered the same issue - CaptureDeviceManager.getDeviceList does not detect any audio device on IE/Vista.>(..in an applet)
    >
    I would appreciate it very much if you'd kindly offer any help and suggestions. >I suspect the basic problem here, is the installer that defaults to preventing the applet access to record sound (I am guessing that would 'spill over' into web-cam permissions). A quick test of that is to try the same code as an application.
    If the application works, one possible fix is to launch the application using webstart. Webstart will work from a web page, and offers many other advantages over a standard applet.

  • 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

  • JMF in Applet

    I have an applet that plays a video from a HTTP URL and it works fine as an application and runs fine in appletviewer. But, when the applet is run in a browser I get this error: Error instantiating class: com.sun.media.protocol.http.DataSource: java.io.IOException: Unable to open a URL connection. The rest of the applet functions fine in the browser. Works everywhere but where I want it to. I've read a few things regarding this error but nothing conclusive as far as resolving this problem. I don't think the applet needs to be signed, please correct me if I'm wrong. I'm thinking this is a simple solution and I'm sure I've overlooked something.
    Thank you in advance.

    I did a standard install for the windows version of JMF and it seemed to update the classpath and all just fine. I am using Netbeans and tomcat for testing before deploying to Apache. I copied the jmf.jar files into the tomcat lib folder to ensure it would be resolved by the web engine. But, like I said in my original post all works fine in the appletviewer and fails when the applet is included in a web page, although the rest of the applet works fine in the webpage. So. there's something amiss with the url request by the player.
    You may want to reinstall the JMF again and check this article out: http://www.javaworld.com/javaworld/jw-04-2001/jw-0406-jmf1.html
    Hope some of this helps.

  • Using JMF with applet

    Hello,
    I've got an applet that consumes a lot of CPU. I'm studying to migrate this applet to a pda, but it's not enough cpu for it. I'm reading JMF docs and I decide to generate a movie with the output of an applet. �If it's possible? My idea is to create the movie on the server. I can modify my applet to avoid the use of the applet inheritance and then render the output to an standard movie format. After I will send the movie to the browser
    You can see the applet here. Click on View route 3D under the flash movie.
    http://www.tmb.net/vullanar/en_US/resultatcerca.jsp?tipusrepre=0&origenx=31514.420&origeny=82758.000&descripcioorigen=L1+-ARCDE+TRIOMF&destix=34704.550&destiy=87378.460&descripciodesti=L2+-ARTIGUES-SANTADRI%C0&tipustransport=0&numtransbords=2&tempscaminant=20&velocitatcaminant=1&tipushora=1&dia=27&mes=05&hora=12&minut=22&idioma=en_US&operador=TMB&poblacioorigen=1&poblaciodesti=1
    Thanks in advance,
    David B.

    passionforjava2 wrote:
    ...I have issues with applet unable to transmit voice using JMF. i know it is a security issue. As the error on the console says
    java.lang.RuntimeException: No permission to capture from applets
    Error : Couldn't create DataSourceWhen JMF is installed, it generally offers a checkbox to allow or deny 'capture in applet'. By default it is not checked, and if the user goes with that recommendation, I am not sure that anything will overrule that.
    In a folder iPhone/myphone/What is the URL where we can visit this applet?
    .. i have applet embedded html file along with .jar files with required classed and applet signed. Are you prompted to trust the digitally signed code? You can see the dialog I mean by visiting the applet linked from [http://pscode.org/test/docload/].
    ..Along with that .jar i do have jmf.jar and java.policy.applet file and jmf.properties file . Forget the policy files, they are a waste of time, and completely impractical for end users.

  • Provide JMF to applet client launchers

    I read the readme.html file including with JMF, but i don't get a way to send JMF to the launchers of my applet.
    I saw but not understood wery well what's the goal of JMCustomizer.
    Anyone can explain me a little?
    Anyone can tell me how to send the JMF package to the Clients?
    A code example would be welcomed, even in HTML
    The context is:
    I have an application capturing my webcam and ready to transmit RTP packets to a client.
    This client must open a webpage on my web server.
    The webpage contains an applet based on the following code:
    (you should understand with juste this few lines)
    MediaLocator ml = new MediaLocator("rtp://82.229.241.123:3000/video");
    Player p = Manager.createRealizedPlayer(ml);
    setContentPane(p.getVisualComponent());
    p.start();
    but, the java console tells me that the local port 3000 cannot be open although the app send RTP packet to people on port 3000
    and the log of my apach server tells me that the clients tried to get some files which are not on my pc nor in any jar files from JMF.
    Could you help me?

    xljiayuan wrote:
    ..I am trying developing an applet SIP phone based on Jain Sip Applet Phone( which originally can only deal with audio signal). If this is pure audio, can it be done using JavaSound?
    ..But I found a big problem that I have to make every client install the JMF, however the clients hope there is no software to be installed locally.To run an applet, the applet needs to be 'installed' on the user machine. Same with anything else.
    BTW - have you investigated JavaFX? It is effectively the replacement for JMF, and possibly has a better end-user experience than trying to install JMF.
    However, as for the applet, it dosen't that simple for the security thing. Here is the output in cosole:
    in my project , it throws exception like this: "Failed to initially commit JMFRegistry. Ignoring err.java.lang.SecurityException: commit: Permission denied"Is your applet digitally signed? If not, it has no hope of intercepting sound on the client. It is that simple.
    Imagine if you visited a web page with a 1px x 1px applet (effectively invisible) that could hear everything you say, and transmit it back to the server. Sun is not about to allow that, unless the end-user has granted the applet extended permissions.

  • JMF Player Applet and NAT

    Hi,
    I have built an entire rtsp/rtp server to stream multimedia files and the webcam.
    I can more or less succesfully stream video content on a LAN, but even if I make my server public on the internet, there remain NAT issues regarding the client.
    What I wish to do, is to embedd an applet within the webserver so that the end-user doesn't require a third-party client to watch his content.
    I've built an applet following the SimplePlayerApplet example, which works on a LAN.
    Now what I would like to do, is to get informations from the RTSP session, particularly RTP source port, in order to send a single datagram, so that the firewall/router can bind the internal client port to its public port. This way the server can serve RTP/UDP packets that may able to cross the router. I read STUN server used this method to resolve UDP crossing of routers.
    The thing is that with a Player object, I can't get any information regarding RTP session. I'd rather avoid to use an RTPManager because this way, I would have to redo all the RTSP(client-side) thing.
    Can you please help ?
    Thanks in advance.

    If you need to play a real player file then see the Java Media Framework API, it's support many media file types, also you can play any media file from server side.
    go to :
    http://java.sun.com/products/java-media/jmf/index.html

  • JMF + JWS + Applet

    I'm working in a project with JMF and JWS (maybe Applets).
    My application needs to capture a image from a webcam.
    I know I have to sign my jar files, but my application isn't working at all, cause I can't start my webcam from my application. Always getting a nullPointerException.
    In the Eclipse IDE, the same application works very fine.
    My questions are:
    1. May I have to sign the jmf.jar?
    2. Where may I have to copy them?
    Apreciate any help.

    >
    1. It was already in my plans use JFrame and JWS. Applets is my B plan.>I would demote the plan 'B' to a plan 'C'. Applets are a PITA, and rarely a solution to ..anything.
    >
    2. My jnlp file have all-permissions in security tag.>It was in the wrong place, see below.
    >
    3. I don't get the NoClassDefFoundError. Instead, I got NullPointerException, 'cause my application don't find any webcam. Only in Eclipse IDE Enviroment.>Uh-huh. Not entirely sure of the exact meaning/cause of the NPE yet, but it might be a caching problem.
    <http://forum.java.sun.com/thread.jspa?threadID=5209499>
    Here is a thread where I describe how to change the cahce location, and the advantages of doing so (for testing).
    >
    4. My question is: What do I have to do with jmf.jar and his friends? Signed them too ( I've signed them but it didn't work )? >I am not entirely convinced that the code signing failed. There are still too many variables to determine if the code was ever considered 'trusted'.
    >
    ..Copy them where?>Add the JNLP codebase to the href for a jar, and the jar should be placed/available 'there'. If you can fetch it using the browser using that final URL, it should be fine.
    E.G. the codebase of this JNLP is http://localhost:8080/Capture/, and the href for the first jar is aCapture.jar. So the final URL would be
    http://localhost:8080/Capture/ + aCapture.jar
    ->
    http://localhost:8080/Capture/aCapture.jar
    If the href had been 'lib/aCapture.jar', the final URL would be..
    http://localhost:8080/Capture/lib/aCapture.jar
    Simple, huh?
    >
    5. Something about "vfw:Microsoft WDM Image Capture (Win32):0"?>I do not understand that question.
    >
    6. What is Dukes?>You seem to have figured that out. ;-)
    >
    Next my jnlp file:>- The <security> element was 'out of order', it has been 'put in its place' in the JNLP file below. BTW - are you prompted to 'accept the code from..' (or words to that effect)?
    That would indicate that the plug-in understands this is code that needs all-permissions.
    - The JNLP element's 'spec' attribute refers not to a J2SE version, but to the JNLP specification version. Most apps. will have '1.0', but apps. that use features built into JWS in J2SE 5, might specify '1.5'. (There were no changes to JWS in versions 1.2/1.3/1.4).
    - Are you certain that the jars aCapture.jar, mediaplayer.jar & jmf.jar are the only things on the classpath of the app. when it runs in the IDE? I was almost expecting to see some references to 'nativelib's. Here is an example(2) of another JNLP that includes nativelibs (note that I did not check into it deeply, but some of the things in it appear either wrong, or at the least redundant - only the references to nativelibs are of interest).
    1) The valid JNLP file
    <?xml version="1.0" encoding="utf-8"?>
    <!-- JNLP File for Capture Demo Application -->
    <jnlp
    spec="1.0"
    codebase="http://localhost:8080/Capture/" href="exemplo.jnlp">
    <information>
      <title>Capture Demo Application</title>
      <vendor>DESofts</vendor>
      <homepage href="docs/help.html"/>
      <description>Capture Demo Application</description>
      <description kind="short">
        A demo of the capabilities of the Swing Graphical User Interface.
      </description>
      <icon href="images/icone.jpg"/>
      <icon kind="splash" href="images/icone.jpg"/>
      <offline-allowed/>
      <shortcut online="false">
        <desktop/>
        <menu submenu="My Corporation Apps"/>
      </shortcut>
    </information>
    <security>
      <all-permissions/>
    </security>
    <resources>
      <j2se version="1.4+"/>
      <jar href="aCapture.jar"/>
      <jar href="mediaplayer.jar"/>
      <jar href="jmf.jar"/>
    </resources>
    <application-desc main-class="Capture"/>
    </jnlp> 2) The example JNLP that mentions natives, from
    <http://www.dutchie.net/jmf/example/webstart/launchNative_MP3.jnlp>
    (with minor formatting variations that hopefully do not change its meaning.)
    <?xml version="1.0" encoding="UTF-8"?>
    <jnlp codebase="http://www.dutchie.net/jmf/example/webstart" href="launchNative_MP3.jnlp">
    <information>
      <title>JMF Demo</title>
      <vendor>Dutchie Pty Ltd</vendor>
      <homepage href="http://www.dutchie.net"/>
      <description>The JMF Demo.</description>
      <description kind="short">Demo showing features of JMF</description>
        <description kind="one-line">JMF Demo</description>
        <description kind="tooltip">Click here to launch the JMF Demo</description> 
        <icon href="dutchieIcon.gif"/>
        <icon kind="splash" href="splash.gif"/>
        <offline-allowed/>
    </information>
    <security>
      <all-permissions/>
    </security>
    <resources>
        <j2se version="1.4+"/> 
        <jar href="JMediaDemo.jar" main="true" download="eager"/>  
        <jar href="mp3plugin.jar" download="eager"/>     
    </resources>
    <resources os="Windows" arch="x86">
      <nativelib href="jmf_native_windows.jar"/>
      <jar href="sun_jmf_generic.jar" download="eager"/>
    </resources>
    <resources os="SunOS" arch="sparc">
      <nativelib href="jmf_native_solaris.jar"/>
      <jar href="sun_jmf_generic.jar" download="eager"/>   
    </resources>
    <resources os="Linux">
      <nativelib href="jmf_native_linux.jar"/>
      <jar href="sun_jmf_generic.jar" download="eager"/>   
    </resources>
    <application-desc main-class="org.jmfapi.JMediaDemo"> 
      <argument>jmf</argument>
      <argument>native</argument>
      <argument>sun_mp3_plugin</argument>
      <argument>oggvorbis</argument> 
      <argument>webstart</argument> 
    </application-desc>
    </jnlp>

  • JMF enabled applet can run on mobile ?

    Hello
    I am undertaking a project, in which i have to stream a stored video (.mpg,.avi or any other) on server, to a mobile over HTTP.
    I have started using JFM for this purpose, for which i am using an applet to play audio/video in my computer browser.
    But i need to know that how to play the same applet on mobile end, anf if yes, then how ?
    I hope i am clear with my query.
    Please assist.
    Regards

    JMF will run only on a J2SE JRE, and there is no J2ME version. So unless the mobile in question has a full version of the JRE, then JMF won't run on it.

  • 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

  • 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

  • Totally random Apple ID request on iPhone after iCloud sync.

    After syncing my iPhone 4s with iCloud I get a totally random Apple ID request.  I am not familiar with this email at all. Most of the posts I have seen seem to be related to an old email or the email of a family member.  The email address is complet

  • ODI 11g error when running scenario from startscen

    Hi, I'm getting the following error when trying to run the scenario using a standalone agent: org.apache.bsf.BSFException: exception from Jython: Traceback (innermost last): File "<string>", line 6, in ? ImportError: no module named re      at org.ap

  • Badi HR_IN_TERMINATION (HR Module)

    Hi all,    I have a requirement where i have to use this badi HR_IN_TERMINATION this badi calculates 1) To compute Superannuation amount 2) To compute Gratuity amount 3) To compute Leave Encashment amount Now I am able to trigger the badi for leave e

  • Flashplugin 10.2.152.27-2 Crashes Constantly

    Hello all, I've recently (within the past 2 - 3 days) started having a problem with the flashplugin crashing constantly when watching YouTube videos (not sure about other sites as I can't think of any that use flash video player). If you click on a v

  • Split 1 input structure into N output structures how can be implemented?

    Hi friends, The question is how you can implement a split of a message to others(N)  according to mesage elements (of the first) ? Thank you in advance? Antonis