aix java version upgrade

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

aix java version upgrade

Roshan
Hello Erman,

I need to upgrade java from 1.5 to 1.6.
OPatch 11.1.0.6.0 requires JDK 1.6 or later
The JDK version at /app/PMTG/db/tech_st/11.1.0/jdk is 1.5.0

 I am having some issue when upgrading. I downloaded java 1.7 from IBM. I installed using installp -aXY -d . Java7_64.jre

                    Pre-installation Verification...
+-----------------------------------------------------------------------------+
Verifying selections...done
Verifying requisites...done
Results...

FAILURES
--------
  Filesets listed in this section failed pre-installation verification
  and will not be installed.

  Missing Filesets
  ----------------
  The following filesets could not be found on the installation media.
  If you feel these filesets really are on the media, check for typographical
  errors in the name specified or, if installing from directory, check for
  discrepancies between the Table of Contents file (.toc) and the images that
  reside in the directory.

    Java7_64.jre

  << End of Failure Section >>

+-----------------------------------------------------------------------------+
                   BUILDDATE Verification ...
+-----------------------------------------------------------------------------+
Verifying build dates...done
FILESET STATISTICS
------------------
    1  Selected to be installed, of which:
        1  FAILED pre-installation verification
  ----
    0  Total to be installed


Pre-installation Failure/Warning Summary
----------------------------------------
Name                      Level           Pre-installation Failure/Warning
-------------------------------------------------------------------------------
Java7_64.jre                              Not found on the installation media

Java7_64.jre is present in the same folder as jdk(/usr).

Reply | Threaded
Open this post in threaded view
|

Re: aix java version upgrade

ErmanArslansOracleBlog
Administrator
Reply | Threaded
Open this post in threaded view
|

Re: aix java version upgrade

ErmanArslansOracleBlog
Administrator
Do all the steps exactly as documented in the link that I sent to you in my previous reply and see if the issue persist or not.
Reply | Threaded
Open this post in threaded view
|

Re: aix java version upgrade

ErmanArslansOracleBlog
Administrator
I don't understand why you are upgrading the jdk in OS.

Read the following carefully ->

OPatch  uses the jar utility that comes with JDK for its jar, war, and ear operations. Opatch will look for JDK inside the Oracle home specified. In Case   the default Oracle home JDK is corrupt , the user has to use the -jdk option in OPatch to provide an alternate location. OPatch will display an error, if there is a jar/war/ear operation and is unable to locate Java SDK location. please Note updating/upgarding default JDK/JRE version in Oracle Home is not supported , in case you are using -jdk parameter to invoke java from another location , the alternate java version should be the same which comes with default installtion. Please refer to below document for more details:-

Note 1449674.1 Is It Supported to Update /Upgrade the Default JDK/JRE in Oracle Home?
Reply | Threaded
Open this post in threaded view
|

Re: aix java version upgrade

Roshan
Thanks Erman.. It is ok now