Step By Step Virtual PS Install: Java Install



This is a continuation of my virtual PeopleSoft installation.  In this step, we will discuss how to install Java for the virtual machine.  To see the complete list of steps, click here.

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:

su
chmod +x jdk-1_5_0_16-linux-i586-rpm.bin
./jdk-1_5_0_16-linux-i586-rpm.bin

77-java-extract by you.

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:

78-java-license-agree by you.

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.

79-java-alternatives by you.

You can verify that you have the correct java by running the command:

java -version

Resources


Share

3 Comments

  1. Tom says:

    Excellent writeup. I installed E-Business Suite at home just to see if I could do it. This would be an excellent guide for installing PeopleSoft. I found the documentation to be lacking in areas and just gave up out of frustration.

    Thanks!

  2. abudhahir says:

    how to install java this file jre-6u6-linux-i586-rpm.bin
    tel me and tomcat 0.6.16

  3. digitaleagle says:

    Abudhahir,

    The java shouldn’t be too complicated. You can try something like this:

    First, make the bin file executable:
    chmod +x jre-6u6-linux-i586-rpm.bin

    Then, run the bin file:
    ./jre-6u6-linux-i586-rpm.bin

    You will probably have to agree to a license. I think it makes you type yes at the end or something like that. When it is finished, you should have an rpm file in the directory. So, install the rpm file:
    rpm -i jre-6u6-linux-i586-rpm

    Finally, verify the installation with (should print the java version):
    java -version

    Now, Tomcat is a little more involved. Let me just point you to another website for that:
    http://ubuntuforums.org/showthread.php?p=226828
    http://www.howtogeek.com/howto/linux/installing-tomcat-6-on-ubuntu/

    Hope that helps,

    Stephen

1 Trackbacks

Leave a comment