The instructions are a bit terse, there is plenty of room for stuff to go wrong, Optinaly install firefox plugin by linking libnpjp2.so file to ~/.mozzila/plugins folder. Java version '1.7.0_25' Java(TM) SE Runtime Environment (build 1.7.0_25-b15) Java HotSpot(TM) 64-Bit Server VM (build 23.25-b01, mixed mode) Sudo update-alternatives -set java /opt/java/jdk1.7.0_25/bin/java Sudo update-alternatives -install '/usr/bin/java' 'java' '/opt/java/jdk1.7.0_25/bin/java' 1 As a root create a folder in /opt where jdk will be stored.ħ. (just press Tab and it will be autocompleted.)Ħ. Change directory into one with downloaded tarball. Also choose the right version from 32-bit (x86) and 64bit (圆4) one.Ĥ. You are looking for a linux version with tar.gz extension.
Sudo apt-get update & apt-get remove openjdk*ģ. Open up the Terminal (Alt + F2 > Terminal). Mint comes with a OpenJDK version of java libraries, which shouldn't be used for example Android development. Tutorial about How to install JRE for Linux Mint is almost identical for JDK. Unlinke JRE, Java Development Kit includes various development tools like the Java source compilers, bundling and deployment tools, debuggers, development libraries, etc.