Results 1 to 4 of 4
- 07-25-2008, 09:11 AM #1
Member
- Join Date
- Jul 2008
- Posts
- 1
- Rep Power
- 0
how to setup JMF (Java media Wramework)?
Dear All,
I have downloaded JMF2.1.1e for windows, and it has automatically configured/set the CLASSPATH of the user variable. But when i try to compile a simple java application which uses import javax.media.*; it throws an error saying: package javax.media.* doesn't exist. can any one help me plz?
Thanks
- 07-25-2008, 09:22 AM #2
Member
- Join Date
- Jun 2008
- Posts
- 23
- Rep Power
- 0
This will help u in greater extent...
Setting Up JMF::::
Check the hardware and software requirements.
Run the installation program to extract JMF to a directory, such as C:\Program Files\JMF2.1.1. We'll refer to the directory as %JMFDIR%.
Verify that your CLASSPATH and PATH have been configured properly. During installation, InstallShield should automatically set up your CLASSPATH and PATH.
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%
You can use the JMF Diagnostics applet to verify that JMF is set up properly on your system.
Configuring JMF
JMF 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 JMF
You 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 Applications
You 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 Communicator
JMF 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:
You can uninstall JMF 2.1.1 (from the Add/Remove Programs option in the Windows Control Panel) and then install both Netscape Communicator 4.06+ and JMF 2.1.1, in that order. (This is the easier option.)
Install Netscape Communicator and then copy the JMF shared libraries and classes to the Netscape directory.
From the %WINDIR%\System32 directory or %JMFDIR%\lib directory
- 07-25-2008, 09:26 AM #3
Member
- Join Date
- Jun 2008
- Posts
- 23
- Rep Power
- 0
In XP you go into Control Panel -> System -> Environment variables and in the top pane, add an entry for the classpath. Ive done this and it all compiles, its just that when i run even the SamplePlayerApplet, it says that no players are supporting the media.
- 07-25-2008, 09:26 AM #4
Member
- Join Date
- Jun 2008
- Posts
- 23
- Rep Power
- 0
hi,
you may need to set the "CLASSPATH" environment virable instead of the "PATH" virable.
(or use "-classpath" switch in your command line when running)
here is what the 'readme.html' tells us:
.....
On Windows:
set JMFHOME=C:\JMF2.1.1
set CLASSPATH=%JMFHOME%\lib\jmf.jar;.;%CLASSPATH%
(or:set CLASSPATH=%JMFHOME%\lib\jmf.jar;%JMFHOME%\lib\soun d.jar;.;%CLASSPATH%)
Similar Threads
-
Setup RMI service on Ant
By vaskarbasak in forum Advanced JavaReplies: 0Last Post: 07-24-2008, 02:25 PM -
Setup
By Mir in forum New To JavaReplies: 9Last Post: 06-27-2008, 11:12 AM -
Media Metadata
By soulspirit in forum Advanced JavaReplies: 0Last Post: 11-26-2007, 11:01 PM -
javax.media.j3d.IllegalRenderingStateException
By fred in forum Advanced JavaReplies: 1Last Post: 07-24-2007, 01:53 AM -
javax.media library
By Heather in forum EclipseReplies: 1Last Post: 07-08-2007, 12:15 AM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks