1 Reply Latest reply on Jun 24, 2015 2:59 PM by Beauty_and_dBest

    How to Install  Java?

    Beauty_and_dBest

      Hi all,

       

      EBS 11i

      RHEL 5

       

      I want to Upgrade JDK version on HTTP server node.

       

      I downloaded jdk-1_5_0_15-linux-i586-rpm.bin and install it

       

      [root@oracle]# chmod 777 jdk-1_5_0_15-linux-i586-rpm.bin

      [root@roracle]# ./jdk-1_5_0_15-linux-i586-rpm.bin

      Do you agree to the above license terms? [yes or no]

      yes

      Unpacking...

      Checksumming...

      0

      0

      Extracting...

      UnZipSFX 5.50 of 17 February 2002, by Info-ZIP (Zip-Bugs@lists.wku.edu).

      inflating: jdk-1_5_0_15-linux-i586.rpm

      Preparing... ########################################### [100%]

      1:jdk ########################################### [100%]

      Done.

       

       

      But if I run > # /usr/sbin/alternatives –-install /usr/bin/java java /usr/java/jdk1.5.0_15/bin/java 15015


      I got missing options error messages 

       

       

      alternatives version 1.3.30.2 - Copyright (C) 2001 Red Hat, Inc.

      This may be freely redistributed under the terms of the GNU Public License.

       

       

      usage: alternatives --install <link> <name> <path> <priority>

                          [--initscript <service>]

                          [--slave <link> <name> <path>]*

             alternatives --remove <name> <path>

             alternatives --auto <name>

             alternatives --config <name>

             alternatives --display <name>

             alternatives --set <name> <path>

       

       

      common options: --verbose --test --help --usage --version

                      --altdir <directory> --admindir <directory>

       

      Please help...

       

      Thanks,

      JC