Debian – Why there is no sun-java in Debian Wheezy and how can I fix this

debiandebian-wheezyjavasun-java6-jdk

Sun's java is in Debian Lenny and Debian Squeeze repos (non-free) but no in wheezy1,2. Why?

edit: after further research I found that java has been removed. reson:

ROM; security issues and newer versions cannot be redistributed 3

The following question remains:

Where do I get sun-java packages for Debian Wheezy?

Best Answer

I am not sure that it is because of licensing reasons, since the Sun/Oracle Java is in both Squeeze and Sid.

If you need Sun/Oracle Java on Wheezy, the easiest way is probably to install the Squeeze or Sid version. You can make apt to do that for you by pinning.

Pinning allows you to run certain packages from one version (stable, testing, unstable) without the necessity of upgrading your entire system.

I don't do that at the moment, since I find the opendjk packages adequate for all I need, but I did use pinning in the past for number of other packages.

Related Question