Simon Hepburn wrote: > With Debian you do not need to set an absolute path, "java" will suffice. > /usr/bin/java is a symlink to /etc/alternatives/java which in turn points > to the real location of your java vm. When you change/update your java vm > the debian install scripts should take care of updating the symlinks in > /etc/alternatives.
Sorry, upon rereading your original post I realised that you are using the tarball from sun. The Debian alternatives system will only work if you use the blackdown .debs. You can add one of these to /etc/apt/sources.list: deb http://www.tux.org/pub/java/debian sid main non-free or deb http://www.tux.org/pub/java/debian woody main non-free There are probably other mirrors closer to you: http://www.blackdown.org/java-linux/mirrors.html HTH -- Simon Hepburn.