Installing OpenJDK 11
OpenJDK 11 - Tutorials
Last updated
OpenJDK 11 - Tutorials
Last updated
First of all. Login to your VPS using PuTTY.
1 - Installing OpenJDK 11
root@petrosky:~# apt-get update && apt-get upgrade -y
root@petrosky:~# apt install git build-essential
root@petrosky:~# apt install openjdk-11-jre
2 - Installing Headless OpenJDK 11 (GUI Unsupported)
root@petrosky:~# apt install openjdk-11-jre-headless
After that. We are done! We can check for our Java Version by using: java -version command on our terminal!