Quickly installing Sun/Oracle Java in Linux Mint 15

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:

It still downloads all however-many-megabytes of installer, but it’s fire and forget. No need to un-install OpenJDK, they can coexist.

7 thoughts on “Quickly installing Sun/Oracle Java in Linux Mint 15

  1. Permalink  ⋅ Reply

    Ian Chapman

    July 22, 2013 at 12:42am

    The 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?

    • Permalink  ⋅ Reply


      July 22, 2013 at 8:29am

      So 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.

  2. Permalink  ⋅ Reply


    August 12, 2013 at 6:04pm

    Brilliant! 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

    • Permalink  ⋅ Reply


      August 12, 2013 at 6:33pm

      Glad to be of help. It took me more than 15 minutes to work out, which means it’s too hard!

  3. Permalink  ⋅ Reply


    March 6, 2014 at 5:08pm

    Congratulations! 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?

  4. Permalink  ⋅ Reply


    June 6, 2014 at 3:35pm

    You’re a genius – thanks for this!

  5. Permalink  ⋅ Reply


    September 27, 2014 at 4:49pm

    The three commands made the installation effortless for Mint17. All system modifications should be so easy. Thank you.

Leave a Reply

Your email will not be published. Name and Email fields are required.