Install Oracle Java on Linux (any distribution) and set environment variables.
Install or upgrade Java and set the PATH and JAVA_HOME environment variables to use Java from the terminal. The explained method works on all Linux distributions as we are installing from the tar file.
Java Helps Links:
Latest Oracle JDK: [ Ссылка ]
Oracle JDK 17: [ Ссылка ]
Oracle JDK 16: [ Ссылка ]
Oracle JDK 15: [ Ссылка ]
Oracle JDK 11: [ Ссылка ]
Oracle JDK 8: [ Ссылка ]
Timeline:
00:00 Introduction
00:45 Install Java
02:58 Setup Environment Variables
05:06 Update alternatives
07:10 Check Java version
Background Music: www.bensound.com
![](https://s2.save4k.ru/pic/f-oBpWOZFQE/maxresdefault.jpg)