Yellow Dog Solutions


TOPIC: How to download and install IBM's JRE (Java Runtime Environment)



Introduction
IBM provides the most recent JRE/JDK available for Power Linux. To download it, you must create a (free) account on their website.

  1. Go to: http://www-128.ibm.com/developerworks/java/jdk/linux/download.html, register, and sign in.

  2. Download the package labeled "IBM SDK for 32-bit iSeries/pSeries". This should be an rpm file.

  3. Install the RPM by running:
    rpm -ivh IBMJava2-142-ppc32-SDK-1.4.2-x.x.ppc.rpm [ENTER]
  4. 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
  5. 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



 
          Copyright ® 1999-2010. Fixstars Corporation. All rights reserved.
YDL.net Fixstars Corporation