Ubuntu 10.10 安裝 sun-java6-jdk
阿新 • • 發佈:2019-01-26
今天需要用到sun的jdk,但找了半天就是找不到,只有openjdk,後來才知道,10.10中是sun-java6-jdk,官方的release notes中看
packages from the Canonical Partner Repository. You can configure your system to use this repository via command-line:
到如下一段:
Sun Java moved to the Partner repository
For Ubuntu 10.04 LTS, the sun-java6 packages have been dropped from the Multiverse section of the Ubuntu archive. It is recommended that you useopenjdk-6 instead.
If you can not switch from the proprietary Sun JDK/JRE to OpenJDK, you can installsun-java6
add-apt-repository "deb http://archive.canonical.com/ lucid partner" 於是,新增上面的源後再 sudo apt-get update sudo apt-get install sun-java6-jdk