I have pasted this same trick numerous times already (half tired of doing it too), but now that Sun Java 1.5 is no longer available on backports I thought I'd post a HOWTO about it.
- Download Java 2 Platform Standard Edition 5.0
- There, select one of these:
- Download JDK 5.0 Update 5
- Download JRE 5.0 Update 5
- After you have reviewed and accepted the License Agreement, download Linux self-extracting file (the one with the .bin extension).
- In sequence, execute these commands in Terminal mode (Applications -> System Tools -> Terminal):
Code:sudo apt-get install fakeroot java-package Code:fakeroot make-jpkg downloaded_package_name.bin
* To get the name of the newly created debian package, let's do:- ls
* Now to install it :- sudo dpkg -i newly_created_package.deb (whatever the newly Sun- DEBian package is named).
* Hoary: http://www.ubuntuguide.org/#extrarepositories
* Works on Breezy too.
Bookmarks