Oracle Server JRE 10 Debian Buster Installation Guide
Hi! The Tutorial shows you Step-by-Step How to Install Oracle-Sun Java SE Server JRE 10 on Debian Buster 10 64-bit GNU/Linux Server.
And with the Java Runtime Environment 10 for Debian Buster Installation you’ll be able to Run Java Software and Programs.
Moreover, the Oracle Server JRE 10 for Debian Buster is a runtime environment specifically targeted for deploying Java in Server Environments.
Finally, the Contents and Details of How to Install Oracle Server JRE 10 on Debian Buster 10 are Expressly Minimal to Give Focus Only to the Essentials Instructions and Commands and Make the Tut Easier to Understand ;)
-
Login into Server.
-
Download Oracle Java SE Server JRE 10 for GNU/Linux.
-
Then Extract into /tmp Archive
Do:tar xvzf ~/Downloads/serverjre10**.tar.gz -C /tmp/
-
Next
Relocate Java Server JRE 10.
First, Make a jvm Directory if Not already there with:
sudo if [ ! -d "/usr/lib/jvm" ]; then mkdir /usr/lib/jvm; fi
Set the root SuperUser as Owner:
sudo chown -R root:root /tmp/jdk10*
Reiterate the Execution Permission over the Java binaries:
sudo chmod -R +x /tmp/jdk10*/bin
Finally, Shift the Java contents with:
sudo mv /tmp/jdk10* /usr/lib/jvm/
-
Finally, Setup Oracle Java JRE 10
You can directly Copy & Paste the Commands into Terminal..sudo update-alternatives --install /usr/bin/java java /usr/lib/jvm/jdk10*/bin/java 1065
sudo update-alternatives --install /usr/bin/javaws javaws /usr/lib/jvm/jdk10*/bin/javaws 1065
Checking or Setting the System Java Version in Use with:
sudo update-alternatives --config java
And for the Java Compiler instead:
sudo update-alternatives --config javac
To Switch of Java Version Just Enter the Selection Number on First, Column. :)
How to Install Netbeans 8 IDE for Java 10 on Debian:
Setup NetBeans Java for Linux.