
(should work with any other version downloaded from Oracle)ĭownload Sun/Oracle Java JDK or JRE from here (current version is JDK 6 Update 30). How to install Oracle Java JDK6u30 on Ubuntu 11.10 This guide describes how-to download, install and make java, javac and javaws from Oracle available to use in your system. That does not stop you from installing Oracle's JDK from a PPA or from the official package files from the Oracle's site. The basic idea is that Oracle's Java Se will not be included in any official Ubuntu repo due to license problems created by Oracle. The reason why Oracle's Java implementation is not supported or distributed by Ubuntu already discussed here.

Give it permissions to execute and extract itĭuring installation it will ask you to register - press ENTER.

Oracle themselves have the official guide to install their JDK - below is based upon those instructions.ĭownload the 32bit or 64bit Linux "compressed binary file" - it has a ".bin" file extension You can however still download them from the Oracle Java Archive It is not updated with the latest security patches and are not recommended for use in production. You will need to regularly update this manually to ensure your installation maintains recommended security and stability fixes. The instructions below provide a guide to install the official Oracle JDK 6. To install the OpenJDK & OpenJRE refer to this Q&A. There are no more supported java releases from Ubuntu - Ubuntu officially supports OpenJDK and OpenJRE implementation of Java which is the base for Oracle's own implementation.

Also previous versions supplied on PPAs suffer from security issues are are not recommended to be installed on any Ubuntu system. Due to license issues Ubuntu will no longer distribute Oracle's JDK and JRE.
