Introduction
IBM provides the most recent JRE/JDK available for Power Linux. To download it, you must create a (free) account on their website.
- Go to: http://www-128.ibm.com/developerworks/java/jdk/linux/download.html,
register, and sign in.
- Download the package labeled "IBM SDK for 32-bit iSeries/pSeries". This should be an rpm file.
- Install the RPM by running:
rpm -ivh IBMJava2-142-ppc32-SDK-1.4.2-x.x.ppc.rpm [ENTER]
- Create /etc/profile.d/java.sh to update the PATH variable, and to set the JITC_PROCESSOR_TYPE variable.
nano /etc/profile.d/java.sh [ENTER]
Create the lines:
PATH=$PATH:/opt/IBMJava2-ppc-142/bin
export JITC_PROCESSOR_TYPE=6
- Log out and log back in (to reload /etc/profile).
You should now be able to use 'java' to run JAVA apps, and 'javac' to compile them.
This HOWTO was prepared by Owen Stampflee, Terra Soft





