A lot of people have huge issues with OpenJDK.Personally I hate OpenJDK and remove it immediately from a fresh install of Linux Mint.This is made for any Ubuntu based Linux Operating System.JDK7u7 is a patch for a silent java drive-by that a lot of people are still successfully using. So download JDK7u7... Don't worry about the JRE because the JDK comes with it. If you didn't know that already.There will be 32-Bit and 64-Bit command line demonstrations.
Key:
32-Bit
64-Bit
Both
Go here
Step 1: If you are using a 32-bit download:
Code:
92.86 MB jdk-7u7-linux-i586.tar.gz
If you are using a 64-bit download:
Code:
91.59 MB jdk-7u7-linux-x64.tar.gz
Step 2:
Open Terminal, be sure to keep the Terminal open during the duration of this tutorial
Type:(32-Bit):
Code:
tar xvf jdk-7u7-linux-i586.tar.gz
(64-Bit):
Code:
tar xvf jdk-7u7-linux-x64.tar.gz
Step 3:
Type:
Code:
sudo mv ./jdk1.7.0_07/ /usr/lib/jvm/jdk1.7.0_07
Then
Code:
sudo ln -s /usr/lib/jvm/jdk1.7.0_07 /usr/lib/jvm/java-7-oracle
Now
Code:
sudo update-alternatives --install /usr/bin/java java /usr/lib/jvm/java-7-oracle/jre/bin/java 2
And
Code:
sudo update-alternatives --install /usr/bin/javac javac /usr/lib/jvm/java-7-oracle/bin/javac 1
Step 4:
Type:
Code:
sudo update-alternatives --config java
Then choose java-7-oracle
Java is installed
You may want to run Thats up to you