Title
JDK, not JRE, required to execute Web Services with OracleDI

Date
2009-02-05

Summary
When issuing the startscen.sh or startdemo.sh commands, you may receive the following error:
    A JDK is required to execute Web Services with OracleDI. You are currently using a JRE.
    
That is because ODI looks for the environment variable ODI_JAVA_HOME instead of JAVA_HOME.

Details
1. Set the ODI_JAVA_HOME to a valid JDK installation. For example:

export ODI_JAVA_HOME=/usr/java/jdk     <-- for Unix
set ODI_JAVA_HOME=c:\Progra~1\Java\jdk <-- for Windows

Now running either of the startscen or startdemo commands will no longer give you the warning:

C:\oracle\product\10.1.3\odi_1\oracledi\bin>startscen TRANSFEREMPLOYEES 001 CUSTOMERTARGET
OracleDI: Starting scenario TRANSFEREMPLOYEES 001 in context CUSTOMERTARGET ...

C:\oracle\product\10.1.3\odi_1\oracledi\bin>startdemo.bat

Applicable Versions
Oracle Data Integrator 10g (10.1.3)
Ahmed Aboulnaga

.com .com