![]() |
|
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 Chapter 11, Legge til, fjerne eller oppdatere programmer). You will need to use Synaptic Package Manager to install these packages.
Read the Java license presented. You must accept it to continue.
For å få ditt system til å bruke Sun Java istedet for åpen kildekode (men mindre funksjonelt) GIJ som er installert som er standard, kjør:
sudo update-alternatives --config java
og velg valget som har j2re1.5-sun
i seg.
Java 1.6 is also available, and can be installed by following the above directions, swapping all instances of 1.5 to 1.6
The Eclipse platform provides a complete, extensible Java development environment.
Install the eclipse package from the “Universe” repository (see Chapter 11, Legge til, fjerne eller oppdatere programmer).
Press Eclipse.
→ → to start using