Project

General

Profile

Actions

Install OracleJdk on Debian » History » Revision 3

« Previous | Revision 3/16 (diff) | Next »
Andreas Kohlbecker, 08/09/2013 11:20 AM


How to install the latest JDK from Oracle on Debian Linux

  • Debian version: Wheezy 64 bit

  • Oracle jdk version: 1.7


this guide is base on https://d.stavrovski.net/blog/installing-oracle-java7-on-debian-wheezy/

download (adapt the below to match the latest version, see http://www.oracle.com/technetwork/java/javase/downloads/jdk7-downloads-1880260.html)

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" \
-O /tmp/jdk-7-linux-x64.tar.gz --no-check-certificate

Unpack the downloaded JAVA 7 archive in /opt

mkdir /opt/java-oracle
tar -zxf /tmp/jdk-7-linux-x64.tar.gz -C /opt/java-oracle

Updated by Andreas Kohlbecker over 10 years ago · 3 revisions