Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The Sun apps used to be in multiverse in Hardy, but they seem to have moved to a more fenced-off repository called 'partner'. See /etc/apt/sources.list on how to enable that.
Installing these packages If you try to install sun-java6-jdk without it you'll get this warning:

No Format
Package sun-java6-jdk is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package sun-java6-jdk has no installation candidate

After enabling the partner repository you can install the needed packages (this will also pull down all the depending packages that you need):

apt-get install sun-java6-jdk tomcat6 ant