In this video I am going to show you how To Install Oracle Java (JDK) On Ubuntu 20.04 LTS, Debian Linux | Download and install Java JDK on Ubuntu | The Latest Oracle Java JDK with JAVA_HOME | JDK 17
sudo dpkg -i file name
ls / usr/lib/jvm (check for jdk directory) copy and paste the directory name with jdk-17 below if different
sudo update-alternatives --install /usr/bin/java java /usr/lib/jvm/jdk-17/bin/java 1 (CHANGE THIS JDK-17(directory name) IF USING ANOTHER VERSION)
sudo update-alternatives --install /usr/bin/javac javac /usr/lib/jvm/jdk-17/bin/javac 1 (CHANGE THIS JDK-17(directory name) IF USING ANOTHER VERSION)
---------------------------------------------------------------------------------------------------------------------------
**SET JAVA HONE ENVIROMENT VARIABLE**
sudo update-alternatives --config java
sudo gedit /etc/profile
JAVA_HOME= PATH (save file and close)
source /etc/profile
echo $JAVA_HOME
DONE
Thumbnail image: https://pixabay.com/illustrations/ubu...
how to install java in Ubuntu 20.04 | java 17 on Ubuntu
Watch video how to install java 17 on Ubuntu 20.04 LTS (2021) | java 17 on Ubuntu online without registration, duration hours minute second in high quality. This video was added by user Sufiyan 11 November 2021, don't forget to share it with your friends and acquaintances, it has been viewed on our site 10,840 once and liked it 95 people.