How to upgrade Java Runtime Environment (JRE) from 1.6.0_06 to 1.6.0_27 ?

Posted on 2011-10-20
Last Modified: 2012-05-12
Because yesterday Oracle launched a Patch Critical Oracle Java SE October 2011, I realized that my server has:

O/S: Red Hat 5 Enterprise Edition

java –version

java version "1.6.0_06"
Java(TM) SE Runtime Environment (build 1.6.0_06-b02)
Java HotSpot(TM) Client VM (build 10.0-b22, mixed mode, sharing)

According to this page:

I have to upgrade my JRE version using patch for Linux: jre-6u27-linux-i586.bin

I paste Reademe.txt:

Bug Number: 9553040

Product Name: JavaSoft JDK 1.6.0_27-fcs-b07

Platform: Linux-i586

Bug Information:

Instructions for installing this patch:
1. Extract JDK provided in this patch.
2. Upgrade the JDK within the Application Server $OH per the instructions in
   one of the following Notes:

   Note 272808.1 -- 10.1.2
   Note 396096.1 -- 10.1.3
   Note 444462.1 -- 10.1.3 (upgrading to JDK6)

3. Upgrade the JDK within the Database $OH per the instructions in Note 418399.1

Note: This patch download also contains the standalone JRE install.  Follow the Oracle product instructions for using the
      standalone JRE.  If there are questions on using the JDK or JRE with Oracle products, please contact the specific
      product Support team accordingly.

Note: Release Notes for the JDK can be found here:


How do I upgrade JRE?

a.- Should I first uninstall JRE version 1.6.0_06 and then install a fresh jre-6u27-linux-i586.bin? Won't it affect anything at my web server?

b.- Should I just install jre-6u27-linux-i586.bin no matter what?

c.- Should I follow some procedure to upgrade my JRE version?

Question by:miyahira
    1 Comment
    LVL 19

    Accepted Solution

    - Get the new jdk binary installer and chmod it +x so that you can run it
    - Run it, and install it - it will not overwrite the old one
    - Look in /usr/java-xxxx - there should be multiple directories
    - There should also be one symlink, java -> java-1.6.0_06 or something like it
    - Delete that symlink, create a new one to the newest directory, like:
      ln -s jre-6u27 java

    Applications usually use a basic JAVA_HOME variable such as "/usr/java", so they'll follow your symlink into the newly installed tree.

    If you see something different, post it back & I'll help you through it - don't worry, it's pretty simple.

    Featured Post

    Maximize Your Threat Intelligence Reporting

    Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

    Join & Write a Comment

    Currently, there is not an RPM package available under the RHEL/Fedora/CentOS distributions that gives you a quick and easy way to allow PHP to interface with Oracle. As a result, I have included a set of instructions on how to do this with minimal …
    If you have a server on collocation with the super-fast CPU, that doesn't mean that you get it running at full power. Here is a preamble. When doing inventory of Linux servers, that I'm administering, I've found that some of them are running on l…
    Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
    Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…

    729 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    22 Experts available now in Live!

    Get 1:1 Help Now