Ubuntu9.10 安装回 SUN JDK 1.5

来源:互联网 发布:ubuntu recovery模式 编辑:程序博客网 时间:2024/05/22 02:25

http://code.google.com/p/0xdroid/wiki/Source

 

If you are using Ubuntu Linux 9.10, just add these two line in file /etc/apt/sources.list:

deb http://us.archive.ubuntu.com/ubuntu/ karmic-updates multiverse
deb
-src http://us.archive.ubuntu.com/ubuntu/ karmic-updates multiverse

and install Sun JDK 1.5:

$ sudo apt-get update
$ sudo apt
-get install sun-java5-jdk

To set the system to use Java 5, you need to update your java alternatives by running

$ sudo update-alternatives --config java

Choose java-1.5.0-sun and it should be done.

 

 

原创粉丝点击