Java

OIM oimoim at free.fr
Jeu 2 Déc 22:05:21 UTC 2004


Le jeudi 02 décembre 2004 à 22:47 +0100, fred a écrit :
> Bonjour à tous,
> Quelq'un sait-il comment installer un compilateur java simplement ?

Tu peux installer le JDK de Sun en suivant la FAQ Ubuntu
	http://www.ubuntulinux.org/wiki/Java/view?searchterm=java
Je te conseille la méthode 2 ... Le paragraphe "Quick Install" te donne
les commandes à taper :

# apt-get install java-package   
download the sun jdk from java.sun.com
** edit /usr/share/java-package/sun-j2sdk.sh to reflect the actual JDK 1.5 release version.
# make-jpkg jdk-1_5_0-linux-i586.bin
# dpkg -i sun-j2sdk1.5_1.5.0_i386.deb
# apt-get install sun-j2sdk1.5debian
# update-alternatives --config java

Et c'est vraiment pas plus compliqué que cela ...
Cela marche exactement pareil pour le JDK 1.4 ... La commande
"update-alternatives --config java" te permet de basculer d'un JDK à
l'autre si tu en installe plusieurs.


> Merci d'avance.
> Freb.
> 





Plus d'informations sur la liste de diffusion ubuntu-fr