Java 1.5: Debian Make and Install
From NAS-Central Buffalo - The Linkstation Wiki
The purpose of this project is to create a Debian package of Java 1.5 so that it can be managed better than installing it manually.
- Debian is already installed
- Kurobox is accessible via FTP
- Key Debian packages are already installed
To get IBM's JDK, go to [WWW] http://www-128.ibm.com/developerworks/java/jdk/linux/download.html, and choose an SDK for 32-bit iSeries/pSeries. Be sure to get the 32-bit version even if you have a G5. You may choose to download both the latest 1.5.0 and 1.4.2 versions and install both if you wish. In any case, periodically check that page for newer Service Releases, and repeat the process described here whenever there is a new one. There is currently no way to keep track of which Service Release you are on under Ubuntu, so make a note of it. As of this writing, SR4 is the latest of the 1.5.0, and SR7 is the latest of the 1.4.2 version. You will have to register before being allowed to download anything. When you reach the download page, download the TGZ version of the SDK.
Preparing the Kurobox for brewing Java 1.5
The the following packages may or may not be needed. BUT, if you don't install these, there will be butt loads of warnings / errors during the making of the Java 1.5 .deb package. I do recall when following the steps for creating a .deb package for Java 1.4.2 (see here), there were several warnings / errors as well. And for my purpose, it still worked fine. So if you are one of those that don't want to see a barrage of errors marching by on your console, install the packages in this section.
Install Key Packages
This will install some of the basic things to assist in making life a little easier when dealing with Debian.
- Install Key Packages which can be found here