How to install Oracle Java 12 on Ubuntu

See https://www.linuxuprising.com/2019/03/how-to-install-oracle-java-12-jdk-12-in.html

Simply put, open a terminal window and enter following commands:
$ sudo add-apt-repository ppa:linuxuprising/java <enter>
$ sudo apt update <enter>
$ sudo apt install oracle-java12-installer <enter>

After the installation is complete, you can verify that the Java plugin has been installed by starting your Firefox web browser and typing about:plugins in the URL box.

Make Oracle 12 as the default Java Environment in Ubuntu, LinuxMint:

$ sudo apt install oracle-java12-set-default <enter>

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s