Monday, October 28, 2013

‘Opatch’ is not recognized as an internal or external command

If we are getting any errors like as shown in the below, we had set the variables wrongly. So, We need set the Variables correctly  (i.e, Path should be correct)

 
Our correct path is “E:\Middleware\Oracle_BI1” but we used wrong path in above command prompt “E:\Middleware_folder\Oracle_BI1”. So, we got the error like ‘optach’ is not recognized.

run below scripts by correcting the path


set ORACLE_HOME=E:\Middleware\Oracle_BI1
and then execute the below javascripts
set PATH=%ORACLE_HOME%\bin;%PATH%
set JAVA_HOME=%ORACLE_HOME%\jdk
set PATH=%JAVA_HOME%\bin;%PATH%
set PATH=%ORACLE_HOME%\OPatch;%PATH%


all the above scripts are ran successfully then apply the patch.

If the patch got succeed then we will get message like "opatch succeeded



 
 
 

No comments:

Post a Comment