Ubuntu / Linux news and application reviews.

Oracle Java


Because I've received more than 50 emails about this, I though I'd make a post about it, to clear things up for everybody.

While Oracle Java 6 and 7 are not supported for quite a while, they were still available for download on Oracle's website until recently.

However, the binaries were removed about 10 days ago (?), so the Oracle Java (JDK) 6 and 7 installers available in the WebUpd8 Oracle Java PPA no longer work.

Oracle Java 6 and 7 are now only available for those with an Oracle Support account (which is not free), so I can't support this for the PPA packages.

From the Oracle Java downloads page:

"Updates for Java SE 7 released after April 2015, and updates for Java SE 6 released after April 2013 are only available to Oracle Customers through My Oracle Support (requires support login).

Java SE Advanced offers users commercial features, access to critical bug fixes, security fixes, and general maintenance".

It's highly recommended you update to Oracle Java 8. Check out the following articles for how to install Oracle Java 8 in Ubuntu (or Linux Mint and derivatives) or Debian via PPA.

If you have an Oracle Support account and you really need Oracle JDK 6 or 7, you can get the installers from the WebUpd8 PPA to work by downloading the binaries and placing them in the following folder:
  • /var/cache/oracle-jdk6-installer/ for JDK 6 (you'll need version 6u45)
  • /var/cache/oracle-jdk7-installer/ for JDK 7 (you'll need version 7u80 for 32bit and 64bit or 7u60 for arm)
... and then install the oracle-java6-installer or oracle-java7-installer package.

Update: if you're looking for Oracle Java 17 (want to install it via PPA), see THIS for more info (it's available in a different PPA).