Installation & Configuration JDK8 on Ubuntu/Linux Mint
Installation & Configuration JDK8 on Ubuntu/Linux Mint
Installation JDK8
Run command
Check
Configure the $JAVA_HOME environment
Check
by do son · Published · Updated
Run command
sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java8-installer
Check
java -version
sudo vi /etc/environment
Added in the file
JAVA_HOME="/usr/lib/jvm/java-8-oracle"
Save the exit
:wq
source /etc/environment
Check
echo $JAVA_HOME