JDK-7108196 : Provide debian package/installer for Oracle Java JDK/JRE
  • Type: Enhancement
  • Component: install
  • Sub-Component: install
  • Affected Version: 7
  • Priority: P4
  • Status: Closed
  • Resolution: Won't Fix
  • OS: linux
  • CPU: x86
  • Submitted: 2011-11-03
  • Updated: 2014-09-29
  • Resolved: 2014-09-29
As of today, Oracle Java binaries are available for Linux users to download in two packages: tar.gz and rpm. The later one installs everything, but only on Red Hat based distributions, the first one doesn't provide any installation scripts needed to setup Java on a Linux system properly.

Unfortunately there is no debian package, neither any set of scripts along the *.tar.gz to transform it into the valid installed Java distribution on a debian based system (Debian/Ubuntu/Mint etc).

The users of such debian-based distributions can only use OpenJDK packages or some tweaks/homemade scripts around tar.gz from Oracle.

While OpenJDK is "kind of" same Java, it is NOT the same "Oracle" Java, which means, you can NOT run exact the same JDK "flavour" on different platforms (Windows/RHEL/Ubuntu). While mostly fully compatible, OpenJDK != Oracle JDK. So in order to reproduce any kind of Java bugs in application running on different platforms, one can never be sure if the bug is simply an incompatibility of OpenJDK.

I think that it could be a great help for Java developers/users it it would be possible to install it on a debian based system via "standard" installer provided by Oracle.

Additional plus for Oracle: only if it is ensured that Java installed in a right way on a debian based system, you can judge if some specific bug report against Oracle JRE is valid or not.

It will also help *both* users *and* Oracle to move Java forward.

It would be great to see that Oracle supports debian based distributions and provides either a set of installation scripts or a dedicated .deb package of the JDK/JRE.
There is only a plain binary .tar.gz package along with an rpm installation package for Linux.

There are LOT of pages in Internet proposing different solutions etc for a proper installation of Oracle Java on debian based systems. This is *not a real* workaround, as nobody (except the owner) can verify that this solutions install everything to the right place/configure every bit right etc.

The offered bundles currently provided offer a sufficient level of support delivering packages on LNX.