Technology Network Community
Oracle Database
Fusion Middleware
Development Tools
Server & Storage Systems
Enterprise Management
Berkeley DB Family
Cloud Computing
Big Data
Business Intelligence
Migration and Modernization
E-Business Suite
PeopleSoft Enterprise
JD Edwards World
JD Edwards EnterpriseOne
User Productivity Kit Pro (UPK) and Tutor
Governance, Risk & Compliance (GRC)
Master Data Management (MDM)
Oracle CRM On Demand
On Demand: SaaS and Managed Applications
AutoVue Enterprise Visualization
Agile PLM
Endeca Experience Management
Fusion Applications
Archived Forums



General Questions

OPatch Java error

I am trying to install a patch to OEM Agent for Windows.   Getting the following error when I try the "opatch inventory" command. Below are the error details..  Any help how to get over this..thank you..  C:\ora\oem00\app\oracle\product\10.2.0\agent10g>opatch lsinventory -detail File Not Found Java could not be located. OPatch cannot proceed!  OPatch failed with error code = 1

Ensure that your JDK location is added to JAVA_HOME and PATH in your environment variables before running any program that uses Java.  Assuming your JDK is in C:\ora\oem00\app\oracle\product\10.2.0\agent10g\jdk  You can also temporarily set this in the command prompt while running opatch.  set PATH=%PATH%;C:\ora\oem00\app\oracle\product\10.2.0\agent10g\jdk\bin set JAVA_HOME=C:\ora\oem00\app\oracle\product\10.2.0\agent10g\jdk  Note that you may have various copys of JDK on your system, including java downloads that are not part of any software install (e.g Oracle). So, when setting JAVA_HOME and PATH, ensure that you do not make any mistakes with JDK versions on your system.

Thank you...  Still getting the same error after setting the path and javahome.

Hi,  Did you go through the README.txt?  This will have all the details of the pre-requesites. Which java version you are using?   Regards, -Praveen.

Java 1.4  Java is installed by OEM Agent installation itself (didn't have to do it seperate)  Thank you..

Related Links

deleting the old data and keep the current
Difference in explain plan for 'Select 1' and 'Select Count(column_name)' .
getting list of base tables of view
Changed the IP, now have error
Compare Mysql,Oracle dataypes
Database creation date after cloning.
Changing Table Definition
ORA-01659 vs dba_free_space
Oratab entry
Tuning request on slow sort with less than 10 000 rows.
brief report of about 2 months for the sqls run under a specific user ?
Deadlock Graph
UTL_MAIL issue
Startup issue
ora error