This article will show you how to install proprietary JAVA 8 (JDK, JRE) in Ubuntu and Mint from the repositories.
Add the necessary repositories and install Java:
sudo add-apt-repository ppa:webupd8team/java sudo apt-get update sudo apt-get install oracle-java8-installer
Let's check the installed version of Java:
java -version
You can also set environment variables from this repository:
sudo apt-get install oracle-java8-set-default
Related video (Russian language):
Share the article with your friends in social networks, maybe it will be useful to them.
If the article helped you, you can >>thank the author<<