HDTutorial
EN

Playback starts YouTube’s embedded player (privacy-enhanced mode).

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

7,004 views October 4, 2020 8:06

Watch on YouTube
ChannelKrishna Ojha

Description from the creator

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

About this tutorial

Krishna Ojha published this 8:06 video tutorial on October 4, 2020. It has been watched 7,004 times on YouTube.

Duration
8:06
Published
October 4, 2020
Views
7,004
Likes
108

Tags

Share

This tutorial in other languages