简体   繁体   English

如何在ubuntu上安装Java Media Framework(JMF)

[英]How to install Java Media Framework (JMF) on ubuntu

After following these steps from the website 从网站执行以下步骤之后

If you are installing the JMF Performance Pack for Linux Change directories to the install location. 如果要安装用于Linux的JMF Performance Pack,请将目录更改为安装位置。 Run the command % /bin/sh ./jmf-2_1_1e-linux-i586.bin 运行命令%/ bin / sh ./jmf-2_1_1e-linux-i586.bin

This was my results. 这是我的结果。 If it means anything I have already installed java se 8. 如果这意味着我已经安装了Java se 8。

I also tried unzip but without success. 我也尝试解压缩,但没有成功。

tail: cannot open '+309' for reading: No such file or directory 尾巴:无法打开“ +309”进行读取:没有此类文件或目录

Extracting... 提取...

./install.sfx.6226: 1: ./install.sfx.6226: cannot open ==: No such file

./install.sfx.6226: 1: ./install.sfx.6226: ==: not found

./install.sfx.6226: 3: ./install.sfx.6226: 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-linux-i586.bin: JMF-2.1.1e/bin/jmfinit: not found

Edit the installer and change "tail" command 编辑安装程序并更改“ tail”命令

vim jmf-2_1_1e-linux-i586.bin

go to line 267 or search for "tail" command 转到第267行或搜索“ tail”命令

change: 更改:

tail +309 $0 > $outname

to: 至:

tail -n +309 $0 > $outname

尝试

sudo ./jmf-2_1_1e-linux-i586.bin

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM