How To Install Oracle Java 15 (JDK 15) On Ubuntu 20.04 LTS, Debian Linux

Published: 03 October 2020
on channel: Krishna Ojha
6,959
109

This video guide to install java JDK in your ubuntu system from scratch including environment setup.
The steps and commands used in the video:
Install Java JDK
1. Download java JDK
2. Install Java
$ sudo apt install (FILE_NAME)

$ ls /usr/lib/jvm

$ sudo update-alternatives --install /usr/bin/java java /usr/lib/jvm/(JDK_VERSION)/bin/java 1

$ sudo update-alternatives --install /usr/bin/javac javac /usr/lib/jvm/(JDK_VERSION)/bin/javac 1

3. set Environment Variable

$ sudo update-alternatives --config java

$ sudo gedit /etc/environment

4.Refresh path

$ source /etc/environment

$ echo $JAVA_HOME

Read Blog:
https://sortedpoint.com/


Watch video How To Install Oracle Java 15 (JDK 15) On Ubuntu 20.04 LTS, Debian Linux online without registration, duration hours minute second in high quality. This video was added by user Krishna Ojha 03 October 2020, don't forget to share it with your friends and acquaintances, it has been viewed on our site 6,959 once and liked it 109 people.