![]() |
|
These instructions are for i386 and AMD64 computers only. For PowerPC machines, see the Ubuntu Java help page. |
Install sun-java5-jdk from the “Multiverse” repository (see 第 11 章 添加、删除和更新应用程序). You will need to use Synaptic Package Manager to install these packages.
请阅读Java许可文件。你必须接受该许可文件才能继续。
要在你的系统里用Sun Java来替代默认安装的、开源的(但功能稍逊)GIJ,请运行:
sudo update-alternatives --config java
,并选择其中有j2re1.5-sun
的选项。
Java 1.6也可以使用,并且可以按照以上说明来安装,只需把“1.5”替换为“1.6”便可。
Eclipse提供的是完整的、可扩展的Java开发环境。
Install the eclipse package from the “Universe” repository (see 第 11 章 添加、删除和更新应用程序).
点击Eclipse。
→ → ,从而开始使用