

I have a non standard location for my downloads even though I fixed it so that it still looks like it is under my home directory so when i did your step 5 I got a mass of errors that quickly zipped off the screen and if I hadnt noticed them would have left my Java folder short of a couple of hundred of the most important files, I looked in the folder and it had lots of stuff there so thought maybe they had been warnings went and had a look it was a permission thing I went back to step 5 and added sudo to the beginning of your first line and it went thru.Īlso in your final Optinal(sic) step you have mispelled mozilla - not sure if thats an issue actually but makes me a bit suspicious that you didnt actually run those commands - just typed them here. 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.
