如何安装 J2SE Runtime Environment (JRE) 和 Mozilla FireFox 使用的插件?

上网、浏览、聊天、下载等
*linux*
帖子: 76
注册时间: 2005-08-24 17:34

如何安装 J2SE Runtime Environment (JRE) 和 Mozilla FireFox 使用的插件?

#1

帖子 *linux* » 2005-08-24 17:59

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 #

这是我的安装情况。请问怎么解决呀??
头像
euking
帖子: 74
注册时间: 2005-08-23 0:42

#2

帖子 euking » 2005-08-24 20:47

我的问题和楼上的一样!!
头像
millenniumdark
论坛版主
帖子: 4159
注册时间: 2005-07-02 14:41
系统: Ubuntu 14.04 (Kylin)
联系:

會不會是源的問題

#3

帖子 millenniumdark » 2005-08-24 20:55

你用的是什么源?

也許你可以換個源。
*linux*
帖子: 76
注册时间: 2005-08-24 17:34

#4

帖子 *linux* » 2005-08-24 21:05

换那些呢?请教!
先谢过了

http://www.ubuntu.org.cn/support/docume ... positories //也就是照着做的。

用的是最后那点中文的源
头像
millenniumdark
论坛版主
帖子: 4159
注册时间: 2005-07-02 14:41
系统: Ubuntu 14.04 (Kylin)
联系:

#5

帖子 millenniumdark » 2005-08-24 21:28

現在看起來中文的源好像有點問題的說——我瞎猜的,因為也有人發現沒法安裝jre
他用的也是中文的源,

他的解決方法是
搞定了, 从别人的电脑上拷贝 sun-j2re1.5_1.5.0+update04_i386.deb

然后 dpkg -i sun-j2re1.5_1.5.0+update04_i386.deb

成功了
你也可以去網上下需要的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]
*linux*
帖子: 76
注册时间: 2005-08-24 17:34

#6

帖子 *linux* » 2005-08-24 22:03

那位好心的朋友可不可以把(sun-j2re1.5_1.5.0+update04_i386.deb)包上传来吗?

我从没装过debian找不到这个包,google也没找到下载。谢谢!!
yongyi
帖子: 3025
注册时间: 2005-05-07 23:57
联系:

#7

帖子 yongyi » 2005-08-24 22:07

这个包真的,今天是离奇失踪了,还望叶兄出来说说。。
独自看一看大海
总想起身边走在路上的朋友
Lenovo E290-420[Celeron-M420/256M/60G/Intel GMA950]
头像
oneleaf
论坛管理员
帖子: 10441
注册时间: 2005-03-27 0:06
系统: Ubuntu 12.04

#8

帖子 oneleaf » 2005-08-24 22:21

这个包是同步 Backports 源,估计明天再同步一次就有了。
当净其意如虚空,远离妄想及诸取,令心所向皆无碍
*linux*
帖子: 76
注册时间: 2005-08-24 17:34

#9

帖子 *linux* » 2005-08-24 23:08

那我们等了
头像
oneleaf
论坛管理员
帖子: 10441
注册时间: 2005-03-27 0:06
系统: Ubuntu 12.04

#10

帖子 oneleaf » 2005-08-24 23:35

安装JDK吧,大不了多少,并且也好些。
当净其意如虚空,远离妄想及诸取,令心所向皆无碍
*linux*
帖子: 76
注册时间: 2005-08-24 17:34

#11

帖子 *linux* » 2005-08-25 13:37

咱个装呢?(因为不知JDK是什么东西)
可否给个说明怎样装。 请别认为我什么都懂
头像
oneleaf
论坛管理员
帖子: 10441
注册时间: 2005-03-27 0:06
系统: Ubuntu 12.04

#12

帖子 oneleaf » 2005-08-25 13:41

sudo apt-get install sun-j2sdk1.5
当净其意如虚空,远离妄想及诸取,令心所向皆无碍
头像
oneleaf
论坛管理员
帖子: 10441
注册时间: 2005-03-27 0:06
系统: Ubuntu 12.04

#13

帖子 oneleaf » 2005-08-25 13:55

当净其意如虚空,远离妄想及诸取,令心所向皆无碍
头像
oneleaf
论坛管理员
帖子: 10441
注册时间: 2005-03-27 0:06
系统: Ubuntu 12.04

#14

帖子 oneleaf » 2005-08-25 14:12

当净其意如虚空,远离妄想及诸取,令心所向皆无碍
*linux*
帖子: 76
注册时间: 2005-08-24 17:34

#15

帖子 *linux* » 2005-08-27 17:10

可以了
在这下载 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
感谢热心的朋友
回复