Ubuntu 10.04安装JDK6

在10.04之后,貌似sun-java-jdk就不是默认的源中的了,被作为第三方的了。

add-apt-repository "deb http://archive.canonical.com/ lucid partner"

apt-get update

apt-get install sun-java6-jdk sun-java6-plugin

1 thought on “Ubuntu 10.04安装JDK6

Leave a Reply

Your email address will not be published.