Almost the same technique as yesterday, but a much bigger timesaver this time. Most Linux distributions come with the open OpenJDK installed. This is fine for most things, but I’ve noticed that apps that are graphically complex (PyCharm for one) have some rendering issues and CPU usage is high.
You can install the Sun/Oracle Java instead, but this seems to be a pain to do from the download. There is another PPA for this:
sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java7-installer
It still downloads all however-many-megabytes of installer, but it’s fire and forget. No need to un-install OpenJDK, they can coexist.
Ian Chapman
July 22, 2013 at 12:42amThe last time I used the above commands was to install the latest Nvidia drivers. After that the packet managed failed. I restored by delating most of what was there and updating mega gobs of stuff to get it back. Any comment?
cybergibbons
July 22, 2013 at 8:29amSo the reason you need to add a PPA to install these pieces of software is that they are not open source. They normally work fine, but nvidia drivers seem to sometimes be a bit awkward. It shouldn’t break anything though.
Alister
August 12, 2013 at 6:04pmBrilliant! At last a quick and simple way to fix Java. My bank keeps changing the Java version required and I was struggling to get it to work for a couple of hours until I found this and had it sorted in 2 minutes.
PS Works with Mint 14 too
cybergibbons
August 12, 2013 at 6:33pmGlad to be of help. It took me more than 15 minutes to work out, which means it’s too hard!
Elenara
March 6, 2014 at 5:08pmCongratulations! You are a special man, and shared a very important solution for Java on Mint 15!!! My problem was the same of Alister (Internet Banking – Banco Itau). Writing from Sao Paulo, Brazil… Many thanks! Do you know if this works on Mint 16 Cinnamon?
phil
June 6, 2014 at 3:35pmYou’re a genius – thanks for this!
cah
September 27, 2014 at 4:49pmThe three commands made the installation effortless for Mint17. All system modifications should be so easy. Thank you.