Up-to-date Java 6 packages for Debian
Clone or download
Latest commit f2f0e52 Jan 20, 2016


Please note that Java 6 reached its end of public updates and Oracle will not release any more updates (latest being 6u45). For details please see http://www.oracle.com/technetwork/java/eol-135779.html


Due to licensing problems Java 6 was recently removed from Debian testing and Debian stable/oldstable was stuck with Java 6u26. Given security updates in later Java versions, this leaves no choice, but manual Java update (OpenJDK not being an alternative for many).

I didn't like the idea of installing Java by hand on my Debian systems, so I've looked for updated Java packages. As I was unable to find ones, I've decided to make my own, so I've pulled latest package sources from the Debian Subversion repository and adapted it to the latest Java 6.

Supported Debian versions

So far packages were tested on following Debian versions:

  • wheezy i386/amd64
  • squeeze i386/amd64
  • lenny i386/amd64

New users of Debian Wheezy should cosider using java-package: http://wiki.debian.org/JavaPackage

Packages are compatible with the "official" Debian ones. However, I've removed a lot of obsolete code (dating back to etch), licensing stuff (since it does not apply anymore) and made general cleanups. For details of changes see 'changelog' file.

I do not have resources to test packages on Ubuntu. However, if one finds any problem on Ubuntu, feel free to report an issue and I will try to resolve it.


To create packages on your own:


Oracle does not permit to distribute repackaged binaries of Java, so be advised that hosting any public repository with Java packages is probably illegal (at least in some parts of the world).

On the other hand, this repository contains only scripts, that allows one to repackage Oracle Java in Debian friendly way. No binaries are or will be hosted.