Why Java's JMF doesn't work in Linux?
Posted
by
Visruth CV
on Ask Ubuntu
See other posts from Ask Ubuntu
or by Visruth CV
Published on 2012-08-06T12:14:53Z
Indexed on
2012/10/05
21:54 UTC
Read the original article
Hit count: 246
installation
I got to do some image processing program in java using Linux. I chose to use the JMF for my camera (a webcam) access. But my program is not able to access the camera. But, the jmf works well in Windows.
I downloaded jmf from oracle.com and I tried to install it in 'Ubuntu 10.10-the Maverick-released in October 2010 and supported until April 2012'. The downloaded file was a .bin
file.
I got the below output (last part of the output) when I tried the command provided by oracle /bin/sh ./jmf-2_1_1e-linux-i586.bin
.
For inquiries please contact: Sun Microsystems, Inc. 4150
Network Circle, Santa Clara, California 95054.
LFI# 129621/Form ID#011801
Do you agree to the above license terms? [yes or no]
yes
Permit recording from an applet? (see readme.html) [yes or no]
yes
Permit writing local files from an applet? (recommend no, see readme.html) [yes or no]
yes
Unpacking...
tail: cannot open `+309' for reading: No such file or directory
Extracting...
./install.sfx.4140: 1: cannot open ==: No such file
./install.sfx.4140: 1: ==: not found
./install.sfx.4140: 3: Syntax error: ")" unexpected
chmod: cannot access `JMF-2.1.1e/bin/jmstudio': No such file or directory
chmod: cannot access `JMF-2.1.1e/bin/jmfregistry': No such file or directory
chmod: cannot access `JMF-2.1.1e/bin/jmfinit': No such file or directory
./jmf-2_1_1e-linux-i586.bin: 305: JMF-2.1.1e/bin/jmfinit: not found
/bin/cp: cannot stat `JMF-2.1.1e/lib/jmf.properties': No such file or directory
Done.
When try the same command again, getting nothing in the terminal (console).
visruth@laptop:~/Desktop/mobileapps$ /bin/sh ./jmf-2_1_1e-linux-i586.bin
visruth@laptop:~/Desktop/mobileapps$
Now, I'm not sure that whether it is properly installed or not.Whatever, I'm not getting camera access in my programme. I checked out the driver of the camera, it is available in the os itself I think because other softwares are able to access the camera (web cam). I tried it on both desktop and laptop, but no effect... Is there any solution for the problem?
© Ask Ubuntu or respective owner