• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Java Media Framework Install Help on Red Hat 9.0

 
Ranch Hand
Posts: 511
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello...
I am trying to configure JMF 2.1.1 so it could work properly on Linux (Red Hat 9.0)...
After looking at the instructions on:
http://java.sun.com/products/java-media/jmf/2.1.1/setup-linux.html
I created a shell script called java.sh (located in /etc/profile.d/
and these are the contents:
export JAVA_HOME=/usr/java/j2sdk1.4.2_02
export J2EE_HOME=/usr/java/j2sdkee1.3
export JMF_HOME=/usr/java/JMF-2.1.1e
export ANT_HOME=/usr/local/ant/apache-ant-1.5.4/
export CLASSPATH=.:$JAVA_HOME/lib/tools.jar:$JAVA_HOME/lib/jre/rt.jar:$J2EE_HOME/lib/j2ee.jar:$JMF_HOME/lib/jmf.jar
export PATH=$PATH:$JAVA_HOME/bin:$J2EE_HOME/bin:$ANT_HOME/bin:$JMF_HOME/bin
export LD_LIBRARY_PATH=$JMF_HOME/lib:$LD_LIBRARY_PATH
Ok. I saved the file. And then from the command line ran it like this:
$ source java.sh
When I go to the diagnostic applet (in order to test if my JMF is working correctly) this is what I get:
JMF Diagnostics:
Java 1.1. compliant browser....Maybe
JMF classes.....Not Found
The URL for this diagnostic tool is:
http://java.sun.com/products/java-media/jmf/2.1.1/jmfdiagnostics.html
If I echo the CLASSPATH & LD_LIBRARY_PATH this is what I get:
$ echo $CLASSPATH
.:/usr/java/j2sdk1.4.2_02/lib/tools.jar:/usr/java/j2sdk1.4.2_02/lib/jre/rt.jar:/usr/java/j2sdkee1.3/lib/j2ee.jar:/usr/java/JMF-2.1.1e/lib/jmf.jar
$ echo $LD_LIBRARY_PATH
/usr/java/JMF-2.1.1e/lib:
From the best of my knowledge, the LD_LIBRARY_PATH is the name of the shared libraries system environmental variable on Solaris... Is there a similar one on Linux, particularly Red Hat 9.0?
Thanks.
-Unnsse
 
Unnsse Khan
Ranch Hand
Posts: 511
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
No one wants to help me at all with this?
 
Ranch Hand
Posts: 688
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I setup as your describe and started my browser from command line, as in the same environment. I got this message:
Warning:
Name: HorScrollBar
Class: XmScrollBar
The specified scrollbar value is greater than the maximum
scrollbar value minus the scrollbar slider size.
Do you get any error message?
 
Ranch Hand
Posts: 919
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
From the best of my knowledge, the LD_LIBRARY_PATH is the name of the shared libraries system environmental variable on Solaris... Is there a similar one on Linux, particularly Red Hat 9.0?
Yes, it's the same environment variable with Red Hat 9.0, so for your setup you should find (native) JMF shared libraries in /usr/java/JMF-2.1.1e/lib
The applet may be complaining that it can't find the java classes from the jmf.jar, are you starting your browser from the same shell that you ran 'source java.sh' in?
 
There's a city wid manhunt for this tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic