RCU 12c Fails With "Cannot Find the File javaw" - Unable to Find Java
Last updated on MARCH 08, 2017
Applies to:Oracle Fusion Middleware - Version 22.214.171.124.0 to 126.96.36.199.0 [Release 12c]
Information in this document applies to any platform.
Starting the Repository Creation Utility (RCU) 12c will fail to start with the following error message looking for the Java SE installation:
C:\Oracle\Middleware\Oracle_Home\oracle_common\bin > rcu.bat
The system cannot find the file C:\Oracle\MIDDLE~1\ORACLE~1\ORACLE~1\jdk\jre\bin\javaw
Unable to locate java at the following location: /home/oracle/Oracle/Middleware/Oracle_Home/oracle_common/jdk/jre/bin/java
Please set the correct value for JAVA_HOME or ORACLE_HOME and try again.
This is a new Oracle Fusion Middleware 12c installation and a certified Java SE installation has been installed on the machine as required.
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms