Hi,
After a very long time i am going to post ... :) , the reason is didn't get time for posting. sorry for that.
Critical Patch Update (CPU) January-2010 released.
I was applying CPU to all our PRODUCTION box.
one of my DEV box (win2k3 + 11gr1) i was getting below error message.
"Java could not be located. OPatch cannot proceed ..."
Java.exe exist in the $JAVA_HOME folder & $JAVA_HOME properly set , but still getting the same message.
There is a small workaround to use "-jdk" and full path of JAVA.EXE.
something like below
%ORACLE_HOME%OPatch>opatch apply -jdk <<{full path of JAVA.EXE}>>
with the "-jdk" parameter opatch will find the JAVA.EXE and executed without error.
Thanks
5 comments:
Amiable post and this fill someone in on helped me alot in my college assignement. Say thank you you as your information.
I had the same problem... For me the problem went away when I set the environment variable 'ORACLE_HOME' up and pointed it to my Oracle home location "C:\Oracle\Product\11.2.0\DBHome_1"
I had to do this:
D:\Ora_11204_upgrade\p17987366\OPatch>opatch lsinventory -jre %ORACLE_HOME%\jdk
Oracle Interim Patch Installer version 11.2.0.3.6
Copyright (c) 2013, Oracle Corporation. All rights reserved.
Oracle Home : D:\oracle11204\product\11.2.0\dbhome_1
Central Inventory : C:\Program Files\Oracle\Inventory
from : n/a
OPatch version : 11.2.0.3.6
OUI version : 11.2.0.4.0
Log file location : D:\oracle11204\product\11.2.0\dbhome_1\cfgtoollogs\opatch\op
atch2014-04-09_18-14-06PM_1.log
Lsinventory Output file location : D:\oracle11204\product\11.2.0\dbhome_1\cfgtoo
llogs\opatch\lsinv\lsinventory2014-04-09_18-14-06PM.txt
--------------------------------------------------------------------------------
Installed Top-level Products (1):
Oracle Database 11g 11.2.0.4.0
There are 1 product(s) installed in this Oracle Home.
There are no Interim patches installed in this Oracle Home.
--------------------------------------------------------------------------------
OPatch succeeded.
D:\Ora_11204_upgrade\p17987366\OPatch>
I used this:
D:\Ora_11204_upgrade\p17987366\OPatch>opatch lsinventory -jre %ORACLE_HOME%\jdk
Oracle Interim Patch Installer version 11.2.0.3.6
Copyright (c) 2013, Oracle Corporation. All rights reserved.
Oracle Home : D:\oracle11204\product\11.2.0\dbhome_1
Central Inventory : C:\Program Files\Oracle\Inventory
from : n/a
OPatch version : 11.2.0.3.6
OUI version : 11.2.0.4.0
Log file location : D:\oracle11204\product\11.2.0\dbhome_1\cfgtoollogs\opatch\op
atch2014-04-09_18-14-06PM_1.log
Lsinventory Output file location : D:\oracle11204\product\11.2.0\dbhome_1\cfgtoo
llogs\opatch\lsinv\lsinventory2014-04-09_18-14-06PM.txt
--------------------------------------------------------------------------------
Installed Top-level Products (1):
Oracle Database 11g 11.2.0.4.0
There are 1 product(s) installed in this Oracle Home.
There are no Interim patches installed in this Oracle Home.
--------------------------------------------------------------------------------
OPatch succeeded.
D:\Ora_11204_upgrade\p17987366\OPatch>
I used this:
D:\Ora_11204_upgrade\p17987366\OPatch>opatch lsinventory -jre %ORACLE_HOME%\jdk
Oracle Interim Patch Installer version 11.2.0.3.6
Copyright (c) 2013, Oracle Corporation. All rights reserved.
Oracle Home : D:\oracle11204\product\11.2.0\dbhome_1
Central Inventory : C:\Program Files\Oracle\Inventory
from : n/a
OPatch version : 11.2.0.3.6
OUI version : 11.2.0.4.0
Log file location : D:\oracle11204\product\11.2.0\dbhome_1\cfgtoollogs\opatch\op
atch2014-04-09_18-14-06PM_1.log
Lsinventory Output file location : D:\oracle11204\product\11.2.0\dbhome_1\cfgtoo
llogs\opatch\lsinv\lsinventory2014-04-09_18-14-06PM.txt
--------------------------------------------------------------------------------
Installed Top-level Products (1):
Oracle Database 11g 11.2.0.4.0
There are 1 product(s) installed in this Oracle Home.
There are no Interim patches installed in this Oracle Home.
--------------------------------------------------------------------------------
OPatch succeeded.
D:\Ora_11204_upgrade\p17987366\OPatch>
Post a Comment