如何安装 J2SE Runtime Environment (JRE) 和 Mozilla FireFox 使用的插件?
-
- 帖子: 76
- 注册时间: 2005-08-24 17:34
如何安装 J2SE Runtime Environment (JRE) 和 Mozilla FireFox 使用的插件?
http://www.ubuntu.org.cn/support/docume ... /guide/jre
root@ubuntu:/home/cyg # apt-get install sun-j2re1.5
正在读取软件包列表... 完成
正在分析软件包的依赖关系树... 完成
E: 无法找到软件包 sun-j2re1.5
root@ubuntu:/home/cyg #
这是我的安装情况。请问怎么解决呀??
root@ubuntu:/home/cyg # apt-get install sun-j2re1.5
正在读取软件包列表... 完成
正在分析软件包的依赖关系树... 完成
E: 无法找到软件包 sun-j2re1.5
root@ubuntu:/home/cyg #
这是我的安装情况。请问怎么解决呀??
- millenniumdark
- 论坛版主
- 帖子: 4159
- 注册时间: 2005-07-02 14:41
- 系统: Ubuntu 14.04 (Kylin)
- 联系:
會不會是源的問題
你用的是什么源?
也許你可以換個源。
也許你可以換個源。
-
- 帖子: 76
- 注册时间: 2005-08-24 17:34
- millenniumdark
- 论坛版主
- 帖子: 4159
- 注册时间: 2005-07-02 14:41
- 系统: Ubuntu 14.04 (Kylin)
- 联系:
現在看起來中文的源好像有點問題的說——我瞎猜的,因為也有人發現沒法安裝jre
他用的也是中文的源,
他的解決方法是
至於換源,就是換回ubuntuguide.org的源
全部刪掉,換成下面的
還有第三种方法,就是等待。。。等中文的源修复
祝你好運[/url]
他用的也是中文的源,
他的解決方法是
你也可以去網上下需要的DEB包搞定了, 从别人的电脑上拷贝 sun-j2re1.5_1.5.0+update04_i386.deb
然后 dpkg -i sun-j2re1.5_1.5.0+update04_i386.deb
成功了
至於換源,就是換回ubuntuguide.org的源
代码: 全选
sudo cp /etc/apt/sources.list /etc/apt/sources.list_backup
sudo gedit /etc/apt/sources.list
保存## Uncomment the following two lines to fetch updated software from the network
deb http://us.archive.ubuntu.com/ubuntu hoary main restricted
deb-src http://us.archive.ubuntu.com/ubuntu hoary main restricted
## Uncomment the following two lines to fetch major bug fix updates produced
## after the final release of the distribution.
deb http://us.archive.ubuntu.com/ubuntu hoary-updates main restricted
deb-src http://us.archive.ubuntu.com/ubuntu hoary-updates main restricted
## Uncomment the following two lines to add software from the 'universe'
## repository.
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## universe WILL NOT receive any review or updates from the Ubuntu Security
## team.
deb http://us.archive.ubuntu.com/ubuntu hoary universe
deb-src http://us.archive.ubuntu.com/ubuntu hoary universe
deb http://security.ubuntu.com/ubuntu hoary-security main restricted
deb-src http://security.ubuntu.com/ubuntu hoary-security main restricted
deb http://security.ubuntu.com/ubuntu hoary-security universe
deb-src http://security.ubuntu.com/ubuntu hoary-security universe
deb http://archive.ubuntu.com/ubuntu hoary multiverse
deb-src http://archive.ubuntu.com/ubuntu hoary multiverse
## Backports
deb http://ubuntu-backports.mirrormax.net/ hoary-backports main universe multiverse restricted
deb http://ubuntu-backports.mirrormax.net/ hoary-extras main universe multiverse restricted
還有第三种方法,就是等待。。。等中文的源修复
祝你好運[/url]
-
- 帖子: 76
- 注册时间: 2005-08-24 17:34
-
- 帖子: 3025
- 注册时间: 2005-05-07 23:57
- 联系:
- oneleaf
- 论坛管理员
- 帖子: 10441
- 注册时间: 2005-03-27 0:06
- 系统: Ubuntu 12.04
- oneleaf
- 论坛管理员
- 帖子: 10441
- 注册时间: 2005-03-27 0:06
- 系统: Ubuntu 12.04
- oneleaf
- 论坛管理员
- 帖子: 10441
- 注册时间: 2005-03-27 0:06
- 系统: Ubuntu 12.04
- oneleaf
- 论坛管理员
- 帖子: 10441
- 注册时间: 2005-03-27 0:06
- 系统: Ubuntu 12.04
- oneleaf
- 论坛管理员
- 帖子: 10441
- 注册时间: 2005-03-27 0:06
- 系统: Ubuntu 12.04
-
- 帖子: 76
- 注册时间: 2005-08-24 17:34
可以了
在这下载 sun-j2re1.5_1.5.0+update04_i386.deb
http://archive.ubuntu.org.cn/backports/ ... nary-i386/
执行dpkg -i sun-j2re1.5_1.5.0+update04_i386.deb
已OK
感谢热心的朋友
在这下载 sun-j2re1.5_1.5.0+update04_i386.deb
http://archive.ubuntu.org.cn/backports/ ... nary-i386/
执行dpkg -i sun-j2re1.5_1.5.0+update04_i386.deb
已OK
感谢热心的朋友