Installation de Oracle Java 7 sous Ubuntu 12.04

De $1

punaise1.gif

 

This set of instructions is for 64bit Java installation

Download Java to the Downloads folder

1 - Open Terminal, copy & paste the following commands

sudo mkdir -p -v /opt/java/64 

Press Enter

cd Downloads && tar xvzf ~/Downloads/jre-7u4-linux-x64.tar.gz 

Press Enter

sudo mv -v ~/Downloads/jre1.7.0_04 /opt/java/64 

Press Enter

sudo update-alternatives --install "/usr/bin/java" "java" "/opt/java/64/jre1.7.0_04/bin/java" 1 

Press Enter

sudo update-alternatives --set java /opt/java/64/jre1.7.0_04/bin/java 

Press Enter

mkdir -v ~/.mozilla/plugins  

Press Enter

Now remove the IcedTea plugin, if it has been installed. If it's not there to begin with, you'll see a notification of that.

sudo apt-get remove icedtea6-plugin 

Press Enter

Remove a former version of the Java plugin (may or may not be present, run the command just to make sure). If it's not there to begin with, you'll see a notification of that.

rm -v ~/.mozilla/plugins/libnpjp2.so 

Press Enter

ln -s /opt/java/64/jre1.7.0_04/lib/amd64/libnpjp2.so ~/.mozilla/plugins/ 

Press Enter

 

 

exclamationpoint01.png

            Pour les gros flemmards comme moi, 2 scripts :

install_java.sh et install_java_x64.sh

 

wget http://www.yakakliker.org/@api/deki/files/1090/install_java.sh

chmod +x install_java.sh

sh install_java.sh

 

wget http://www.yakakliker.org/@api/deki/files/1092/install_java_x64.sh

chmod +x install_java_x64.sh

sh install_java_x64.sh

 

  

  

 howto05_small.pngVous en pensez quoi ?


 

 

 

 

Enrichissez Yakakliker en y contribuant vous aussi.

FichierTailleDateAttaché par 
install_java.sh
Aucune description
627 octets08:35, 23 Aoû 2012franckActions
install_java_x64.sh
Aucune description
625 octets18:01, 3 Fév 2013franckActions
 jre-7u13-linux-x64.tar.gz
Aucune description
44.63 Mo18:00, 3 Fév 2013franckActions
 jre-7u6-linux-i586.tar.gz
Aucune description
45.77 Mo07:54, 23 Aoû 2012franckActions
 jre-7u6-linux-x64.tar.gz
Aucune description
44.53 Mo14:39, 22 Aoû 2012franckActions
Images (0)
 
Commentaires (0)
Vous devez être connecté pour poster un commentaire.