User Tools

Site Tools


wiki:install_oracle_java_8_debian_9_stretch

Install Oracle java 8 on Debian 9 (Stretch)

Download tar.gz file from http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html Then:

mkdir /opt/java-jdk
tar -C /opt/java-jdk -zxf jdk-8u131-linux-x64.tar.gz
update-alternatives --install /usr/bin/java java /opt/java-jdk/jdk1.8.0_131/bin/java 1
update-alternatives --install /usr/bin/javac javac /opt/java-jdk/jdk1.8.0_131/bin/javac 1

Tested on

  • Debian 9 (Stretch)
  • Java 8

See also

References

wiki/install_oracle_java_8_debian_9_stretch.txt · Last modified: 2021/04/01 14:24 by antisa

Except where otherwise noted, content on this wiki is licensed under the following license: CC0 1.0 Universal
CC0 1.0 Universal Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki