I have installed Oracle soa suite quickstart 12c (12.2.1.4.0) in windows 7. The java version i'm using is jdk1.8.0_241.
After creating a standalone domain, when i tried to start the weblogic server using startWeblogic.cmd I got the following error.
The JRE was not found in directory C:\Program Files\Java\JDK18~1.0_2 <JAVA_HOME>
Please edit your environment and set the JAVA_HOME variable to the root directory of your Java installation.
I have set the JAVA_HOME variable in my environment as follows
JAVA_HOME = C:\Program Files\Java\jdk1.8.0_241
Please suggest solutions to fix this issue.
You should set JDK path in 'setDomainEnv.cmd' file.
Open 'setDomainEnv.cmd' file.
Update the 'BEA_JAVA_HOME' path to your JDK home path.
(Ex:
set BEA_JAVA_HOME=C:\PROGRA~1\Java\jdk1.8.0_171
)NOTE: To find the directory short path in Windows, use
dir /x
in command prompt.