Thursday, 13 March 2014

Debian wheezy kali linux installing jdk 7 by apt-get repository

http://stackoverflow.com/questions/15543603/installing-java-7-oracle-in-debian-via-apt-get

http://www.webupd8.org/2012/06/how-to-install-oracle-java-7-in-debian.html

su -
echo "deb http://ppa.launchpad.net/webupd8team/java/ubuntu precise main" | tee -a /etc/apt/sources.list
echo "deb-src http://ppa.launchpad.net/webupd8team/java/ubuntu precise main" | tee -a /etc/apt/sources.list
 
above can be simply typed/appended into /etc/apt/sources.list 
 
apt-key adv --keyserver keyserver.ubuntu.com --recv-keys EEA14886
apt-get update
apt-get install oracle-java7-installer
exit

No comments:

Post a Comment