RCU 12c Fails With "Cannot Find the File javaw" - Unable to Find Java
(Doc ID 1920314.1)
Last updated on FEBRUARY 18, 2025
Applies to:
Oracle Fusion Middleware - Version 12.1.2.0.0 to 12.1.3.0.0 [Release 12c]Information in this document applies to any platform.
Symptoms
Starting the Repository Creation Utility (RCU) 12c will fail to start with the following error message looking for the Java SE installation:
- Windows
<MW_HOME>\Oracle_Home\oracle_common\bin > rcu.bat
The system cannot find the file <MW_HOME>\ORACLE~1\ORACLE~1\jdk\jre\bin\javaw - Linux/UNIX
<MW_HOME>/Oracle_Home/oracle_common/bin/rcu
Unable to locate java at the following location: <MW_HOME>Oracle_Home/oracle_common/jdk/jre/bin/java
Please set the correct value for JAVA_HOME or ORACLE_HOME and try again.
Changes
This is a new Oracle Fusion Middleware 12c installation and a certified Java SE installation has been installed on the machine as required.
Example locations:
Windows:
<JDK_HOME>\jdk1.7.0_21
Linux/UNIX
<JDK_HOME>/jdk1.7.0_21
Cause
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |
In this Document
Symptoms |
Changes |
Cause |
Solution |
References |