Find below steps for installing Oracle JDK 1.8 on Ubuntu 16.0.4 server
sudo apt-get install default-jdk -y
sudo apt-get update
type below command to verify if java is installed
java -version
openjdk version "1.8.0_191"
OpenJDK Runtime Environment (build 1.8.0_191-8u191-b12-2ubuntu0.16.04.1-b12)
OpenJDK 64-Bit Server VM (build 25.191-b12, mixed mode)
sudo apt-get install default-jdk -y
sudo apt-get update
type below command to verify if java is installed
java -version
openjdk version "1.8.0_191"
OpenJDK Runtime Environment (build 1.8.0_191-8u191-b12-2ubuntu0.16.04.1-b12)
OpenJDK 64-Bit Server VM (build 25.191-b12, mixed mode)
No comments:
Post a Comment