Skip to content
Up-to-date Java 6 packages for Debian
Pull request Compare This branch is 1 commit ahead, 16 commits behind rraptorr:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.


1. Introduction

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.

2. 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:

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.

For automated solution Ubuntu users can use:

3. Usage

To create packages on your own:
- apt-get install dpkg-dev
- git clone git://
- cd sun-java6
- Download jdk-6u37-linux-i586.bin and jdk-6u37-linux-x64.bin from
  (yes, both, no matter which version you will run)
- Download from the same page under "Java Cryptography
  Extension (JCE) Unlimited Strength Jurisdiction Policy Files 6"
- dpkg-buildpackage -uc -us
- install any missing packages that dpkg-buildpackage complains about
  and repeat

4. Legal

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.
Something went wrong with that request. Please try again.