Java

[Nota]

These instructions are for i386 and AMD64 computers only. For PowerPC machines, see the Ubuntu Java help page.

  1. Install sun-java5-jdk from the “Multiverse” repository (see Capítulo 11, Instalar, Remover e Atualizar Aplicações). You will need to use Synaptic Package Manager to install these packages.

  2. Leia a licença Java que lhe é apresentada. Deve aceitá-la para continuar.

  3. 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

Eclipse IDE for Java

A plataforma Eclipse fornece um ambiente de desenvolvimento completo e extensível para Java.

  1. Install the eclipse package from the “Universe” repository (see Capítulo 11, Instalar, Remover e Atualizar Aplicações).

  2. Press ApplicationsProgrammingEclipse IDE to start using Eclipse.