-
Install sun-java5-jdk from the “Multiverse” repository (see Add Applications). You will need to use Synaptic Package Manager to install these packages.
-
Read the Java license presented. You must accept it to continue.
-
To get your system to use Sun Java instead of the open-source (but less functional) GIJ that is installed by default, run:
sudo update-alternatives --config java
and choose the option that has j2re1.5-sun
in it.
Java 1.6 is also available, and can be installed by following the above directions, swapping all instances of 1.5 to 1.6
posted on 2007-05-21 16:16
J2EE 阅读(347)
评论(0) 编辑 收藏