
Java HotSpot(TM) 64-Bit Server VM (build 25.131-b11, mixed mode) Java(TM) SE Runtime Environment (build 1.8.0_131-b11) The Oracle SE Development Kit should now be default on your system. # update-alternatives -install /usr/bin/javac javac /opt/java-jdk/jdk1.8.0_131/bin/javac 1 # update-alternatives -install /usr/bin/java java /opt/java-jdk/jdk1.8.0_131/bin/java 1 Next, use update-alternatives command to make it default on your Debian stretch system: If all went well the Oracle Java SE Development Kit tarball should be available within your current working directory:Īt this stage we will extract the previously downloaded package into /opt/java-jdk directory and make is default system-wide: Next,use the above URL from curl‘s output do download the actual Oracle Java SE Development Kit tarball: $ curl -s | grep "otn-pub" | cut -d \" -f12 | grep linux-圆4.tar.gz If curl is not yet available on your system you can install by # apt install curl: Retrieve 64bit Oracle Java SE Development Kit tarball URL using curl command. NOTE: The URLs used below to download Oracle Java SE Development Kit may be outdated, so please update where necessary. Alternatively, if you do not have access to GUI your can download Oracle Java SE Development Kit from the command line using curl command. Instructions Download Oracle Java SE Development Kitįirst step is to use your browser to download Oracle Java SE Development Kit from the official Oracle website.


# – requires given linux commands to be executed with root privileges either directly as a root user or by use of sudo command.Privileged access to your Debian 9 Stretch Linux may be required for Oracle Java SE Development Kit system-wide installation. Software: – Oracle Java JDK 1.8.0_131 ( at the time of writing ).Operating System: – Debian 9 Stretch Linux.The objective is to install Oracle Java SE Development Kit on Debian 9 Stretch Linux Operating System and Software Versions
