|
This page describes how to set up and run JMF for Windows. JMF for Windows is an optimized implementation of JMF that contains class files and native libraries for running JMF players. Setting Up JMF
set CLASSPATH=%JMFDIR%\lib\jmf.jar;%JMFDIR%\lib\sound.jar;.;%CLASSPATH%Your PATH should be set to include the JMF library files, if you had specified that they not be installed in the Windows\System directory: set PATH=%JMFDIR%\lib;%PATH% Configuring JMFJMF consists of a collection of media handlers, plugins and capture devices. They are configurable and extensible. To configure JMF, use the JMFRegistry application. See the JMF Registry User's Guide for details.Running JMFYou can run the samples using the JDK Applet Viewer, browsers (HotJava, Netscape Communicator, or Internet Explorer) and the JMStudio standalone applications.Running the RTP Applets and ApplicationsYou can only play unicast and broadcast streams using RTPPlayerApplet. To play a multicast stream or to transmit, you need to use the application JMStudio. See the RTP release notes for more information.Running JMF with Netscape CommunicatorJMF can be used with Netscape Communicator 4.06 or later.If Netscape Communicator is already installed on your system when you install JMF, the JMF installation program (with your permission) sets up JMF to work with Netscape Communicator. If the installation program fails to detect Netscape Communicator during installation, there are two ways to get JMF to work with Communicator:
Note: JMF requires access to several resources outside the normal Java sandbox. When Communicator brings up dialogs asking you to grant privileges to JMF applets, you should grant them. To avoid the repeated display of security dialogs, you might want to enable "Remember this decision" in the security dialog. Running JMF with Internet Explorer and the Microsoft VMJMF will run on the latest Microsoft VM (5.0.0.3177 or greater) with JNI support. Internet Explorer 4.01 or greater is recommended. JMF also runs on Internet Explorer 3.02 if Java Plug-in is used.Running JMF with HotJava 1.1HotJava 1.1 seems to ignore the CLASSPATH variable. If you want to use it with JMF, you'll need to explicitly tell HotJava to use your CLASSPATH. You can do that by invoking:hotjava -classpath %CLASSPATH%Also take a look at the runme.bat in the directory where you installed JMF. | |||
|
| ||||||||||||