[Pseudo instruction] How to install Java (64-bit version) for Linux Mint

First remove every openjdk package including icedtea-plugin

$sudo apt-get update && apt-get remove openjdk-6-jre

Install JAVA
Download link: http://www.java.com/en/download/linux_manual.jsp
This is the name of 64-bit version (for Linux x64) I downloaded: jre-8u91-linux-x64.tar.gz. It was downloaded into Download folder

Create a x64 java directory

$sudo mkdir -p -v /opt/java/64

Unpack it to the created subfolder.

$cd ~/Downloads
$tar -zxvf jre-8u91-linux-x64.tar.gz
$sudo mv -v jre1.8.0_* /opt/java/64/jre1.8.0_91

Make the new JRE as default

$sudo update-alternatives --install /usr/bin/java java /opt/java/64/jre1.8.0_91/bin/java 1
$sudo update-alternatives --set java /opt/java/64/jre1.8.0_91/bin/java

Install the Firefox Plugin

$ln -s /opt/java/64/jre1.8.0_91/lib/amd64/libnpjp2.so ~/.mozilla/plugins

Check in Firefox if the installation has been succeeded
Type in the browser: about:plugins

Set a maximum amount of disk space for the cache


Click on settings under temporary Internet files and set amount the disk space to 50MB
Screenshot from 2016-07-13 23:38:31



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