Brett Parker wrote:
*YAWN* - because it's *SOOO* hard to do the following: [magic hand waving to install jdk 1.5 deleted]
As others have pointed out, finding out the up-to-date/working/official way to do that is not trivial.
I had to deal with this too when installing Ubuntu on my thinkpad last week. I eventually found https://wiki.ubuntu.com/JavaPackageBuildNewVersions which has some instructions for creating and installing a package, and then found https://wiki.ubuntu.com/Java?action=show&redirect=AddingJavaSupport which then tells you what to do to use it. Yes, it worked, but it was cumbersome and time consuming.
Have you actually got a solution to the problem [of package managers dealing with license-restricted downloads]
Gentoo has a solution to this problem; portage prints very specific instructions, which are up-to-date, working and official: Download "this file" from "here", put it "there". See appended example. follow the instructions, re-run emerge, and the install completes, and tells you what to do to start using it. Easy and quick.
-- Martijn
emerge (1 of 1) dev-java/sun-jdk-1.5.0.05 to /
!!! jdk-1_5_0_05-linux-i586.bin not found in /usr/portage/distfiles
!!! dev-java/sun-jdk-1.5.0.05 has fetch restriction turned on. !!! This probably means that this ebuild's files must be downloaded !!! manually. See the comments in the ebuild for more information.
* Please download jdk-1_5_0_05-linux-i586.bin from: * http://javashoplm.sun.com/ECom/docs/Welcome.jsp?StoreId=22&PartDetailId=... * Select the Linux self-extracting file * and move it to /usr/portage/distfiles
and then after then install:
* After installing sun-jdk-1.5.0.05 this * was set as the default JVM to run. * When finished please run the following so your * enviroment gets updated. * /usr/sbin/env-update && source /etc/profile * Or use java-config program to set your preferred VM