Looking for something? Try here..

Saturday, September 19, 2015

ODI - RCU error, Can't find javaw

Today, I have installed ODI 12c and was trying to configure Master and Work repository using the RCU tool. How to's can be found in this link
The RCU tool has to be invoked from ODI_HOME\oracle_common\bin directory. The version of OS that i was working on was Windows 10 enterprise and ODI version is 12.1.3.

I tried to invoke rcu.bat as below and it throws error that the javaw can't be found in the ODI_HOME

Microsoft Windows [Version 10.0.10240]
(c) 2015 Microsoft Corporation. All rights reserved.

C:\WINDOWS\system32>e:

E:\>cd E:\oracle\Middleware\Oracle_Home\oracle_common\bin

E:\oracle\Middleware\Oracle_Home\oracle_common\bin>rcu.bat


Here ODI software assumes that java jdk is bundled with the software and hence defaults to ODI_HOME path for java. We are aware that as a prerequisite to install ODI we install a compatible version of JDK libraries (I've used JDK1.8). So we need to provide the JAVA_HOME and ODI_JAVA_HOME both directing to the directory where we have the JDK installed. In my case the path is C:\Program Files\Java\jdk1.8.0_60

So set the path in the command prompt and try executing the RCU utility as below.

E:\oracle\Middleware\Oracle_Home\oracle_common\bin>set JAVA_HOME=C:\Program Files\Java\jdk1.8.0_60

E:\oracle\Middleware\Oracle_Home\oracle_common\bin>set ODI_JAVA_HOME=C:\Program Files\Java\jdk1.8.0_60

E:\oracle\Middleware\Oracle_Home\oracle_common\bin>rcu.bat

E:\oracle\Middleware\Oracle_Home\oracle_common\bin>
Now the utility starts and shows the start page without errors as below.

Happy Troubleshooting!!

No comments:

Post a Comment