Bastien Donjon

Développeur web à Bordeaux

jdk Archive

Saturday

18

January 2014

0

COMMENTS

Download and install JAVA jdk 7 for DEBIAN 7

Written by , Posted in Uncategorized

Download jdk with command line (source) :
wget --no-cookies --header "Cookie: gpw_e24=http%3A%2F%2Fwww.oracle.com" "http://download.oracle.com/otn-pub/java/jdk/7/jdk-7-linux-x64.tar.gz
Uncompress (source) :
tar -zxvf jdk-7-linux-x64.tar.gz

Move java directory “jdk1.7.0” in “/usr/java”.

Add JAVA_HOME and PATH variables :
export JAVA_HOME=/usr/java/jdk1.7.0/bin/javaexport PATH=$PATH:/usr/java/jdk1.7.0/bin