By default, GCJ is installed in Oracle Linux. The Tuxedo installer requires a different version of java.
Download the java RPM bin file from the Java 5 downloads page. I used version 5 only because I knew that was what PeopleTools used.
Once you have the file downloaded, open a terminal and extract the bin file with the following commands:
chmod +x jdk-1_5_0_16-linux-i586-rpm.bin
Press the space bar to go through the license or hit q to skip the license. At the end, type yes to agree to the license:
Now, you need to set up the alternatives so that your system points to Java 1.5 instead of the GCJ version.
Run the commands:
/usr/sbin/alternatives –install /usr/bin/java java /usr/java/jdk1.5.0_16/bin/java 2
/usr/sbin/alternatives –config java
On the config, pick option 2, which should be the new Java that you just installed.
You can verify that you have the correct java by running the command:
- Article Includes Alternatives Setup
- Linux Alternatives Howto
- Java 5 Downloads
- Java Previous Versions Downloads
- Java SE Downloads