Chinaunix首页 | 论坛 | 博客
  • 博客访问: 70740
  • 博文数量: 83
  • 博客积分: 1320
  • 博客等级: 中尉
  • 技术积分: 805
  • 用 户 组: 普通用户
  • 注册时间: 2010-07-20 14:54
文章分类

全部博文(83)

文章存档

2010年(83)

我的朋友

分类:

2010-07-20 14:59:13

How install jdk5 in ubuntu 9.10(Copy from)
use the Ubuntu 9.04 repositories to get Java5
This method adds the Jaunty repositories and installs Java5 as the default java setting in the system. Open the sources file (/etc/apt/sources.list) for editing, as root

  $ sudo gedit /etc/apt/sources.list

and add:

  deb jaunty multiverse
  deb jaunty-updates multiverse

save the file and close gedit. Next sync your sources by running

  $ sudo apt-get update

and install

  $ 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 you should be done.

Hopefully the Android Open Source Project will build with Java 6 shortly but the above solutions should get you going with platform work on Ubuntu 9.10.
阅读(575) | 评论(0) | 转发(0) |
0

上一篇:没有了

下一篇:modify sh in ubuntu 9.10

给主人留下些什么吧!~~