LinuxQuestions.org
Have you heard the LinuxQuestions.org Podcast?
Go Back   LinuxQuestions.org > Forums > Linux > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Thread Tools
Old 01-24-2007, 10:02 AM   #1
tram
LQ Newbie
 
Registered: Nov 2005
Posts: 21
Thanked: 0
How to Install Java Media Framework (JMF) on Ubuntu


[Log in to get rid of this advertisement]
I'm trying to install the Java Media Framework so that OpenOffice can play media.

I'm following the instructions from: http://java.sun.com/products/java-me...tup-linux.html

But every time I get to step #3, I get an error:
bash: setenv: command not found

I tried replacing "setenv" with "export" as I've read on another site that that is the proper command when using the bash shell, but that still doesn't work.

I'm kind of a N00b when it comes to the terminal. Any help would be greatly appreciated. I'm running Ubuntu Dapper. Thanks.

Also, I would like to know if it matters where I extract the JMF-2.1.1e folder to. Can this folder be deleted once the installation is complete or does it need to stay there? I'd rather not have it crowding up my home folder if it can be placed somewhere else.
tram is offline     Reply With Quote
Old 03-05-2009, 12:31 PM   #2
edgarinventor
LQ Newbie
 
Registered: Mar 2009
Posts: 2
Thanked: 0
Talking Simple!

Simple... Although it wasn't me how solved it!

Came from here:
Forums sun com
Java Media Framework - Installing JMF on Ubuntu

Yombo said:
Quote:
I've managed to solve it! I've done it this way:

First rename the .bin file to .zip
Then with any tool, decompress the zip. It gives a comment that the beginning of the file has bytes that are not part of the zip (this is the script), but it decompress it correctly. It places the file in its subdirectory.
Then rename the file again to .bin, and execute it. It works!
Guess what... It works!
edgarinventor is offline     Reply With Quote
Old 06-24-2009, 05:07 PM   #3
nct
LQ Newbie
 
Registered: Jun 2009
Location: Kings Langley
Posts: 1
Thanked: 0
Another approach

This did not work for me.
Instead I renamed the file to zip as suggested and unpacked it.
I obtained a folder named JMF-2.1.le
I relocated it in /usr/lib/jvm
and then added this to my CLASSPATH:
CLASSPATH=/usr/lib/jvm/JMF-2.1.le/jmf.jar:CLASSPATH
My program using media then compiled.
Nick Thomas
nct is offline     Reply With Quote
Old 08-11-2009, 04:18 AM   #4
quickstu
LQ Newbie
 
Registered: Aug 2009
Posts: 1
Thanked: 0
Angry

Hi tram,

I am having the same problem.

setenv JMFHOME /home/someuser/JMF-2.1.1e
setenv CLASSPATH $JMFHOME/lib/jmf.jar:.:${CLASSPATH}

These lines of code are suppose to go somewhere, but I can't find any more information on where exactly to put them. I've tried /etc/environment, but that didn't seem to work, I also tried changing to to export but no luck.

also the below line is suppose to be added, I assume to the same file.

setenv LD_LIBRARY_PATH $JMFHOME/lib:${LD_LIBRARY_PATH}

Any help would be much appreciated.

Regards,

Stu.
quickstu is offline     Reply With Quote
Old 08-12-2009, 02:48 AM   #5
edgarinventor
LQ Newbie
 
Registered: Mar 2009
Posts: 2
Thanked: 0
Quote:
Originally Posted by nct View Post
This did not work for me.
Instead I renamed the file to zip as suggested and unpacked it.
I obtained a folder named JMF-2.1.le
I relocated it in /usr/lib/jvm
and then added this to my CLASSPATH:
CLASSPATH=/usr/lib/jvm/JMF-2.1.le/jmf.jar:CLASSPATH
My program using media then compiled.
Nick Thomas
Remember, after a failed instalation, the file's useless, you have to re-download the thing again, and remember to save it away somewhere, just in case something goes wrong
edgarinventor is offline     Reply With Quote

Reply

Bookmarks


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
java-jmf dinesh_t Linux - Software 1 01-23-2006 09:33 AM
help me register JMF (Java Media Framework) vanhelsing Programming 0 08-02-2004 01:22 PM
Problem install JMF(JavaTm Media Framework)2.1.1e vanhelsing Linux - Software 0 08-01-2004 03:35 PM
Linux and Java + Java Media Framework (JMF) perry Programming 0 11-03-2003 11:08 AM
Installing java Machine from Sun (JMF-2.2.1) coltranefawz Linux - Software 1 06-22-2003 09:15 AM


All times are GMT -5. The time now is 04:06 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
RSS2  LQ Podcast
RSS2  LQ Radio
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration