Weblogic 10.3.6 Domain Wizard Could not create the JVM

srgg6701 picture srgg6701 · Jul 12, 2016 · Viewed 8.3k times · Source

I try to run WLS Domain Wizard to create a new domain for WebLogic installed in virtual environment Citrix 12.3.400.3. It requires to run /Middleware/wlserver_10.3/common/bin/config.exe But as I do that the error arises immediately:

Error: Could not create the Java Virtual Machine
Error: A fatal exception has occurred. Program will exit.

I have installed there:

Java SE Development Kit 8 Update 51 (64-bit) - C:\Program Files\Java\jdk1.8.0_51
Java(TM) 6 Update 27 (64-bit) - C:\Program Files\Java\jre6
Java(TM) 7 Update 3 (64-bit) - C:\Program Files\Java\jre7
Java(TM) SE Development Kit 7 Update 3 (64-bit) - C:\Program Files\Java\jdk1.7.0_3

Env var: JAVA_HOME=C:\Program Files\Java\jre1.8.0_51

►java -version

java version "1.6.0_45"
Java(TM) SE Runtime Environment (build 1.6.0_45-b06)
Oracle JRockit(R) (build R28.2.7-7-155314-1.6.0_45-20130329-0646-windows-x86_64, compiled mode)

So, is there any hope to resolve this problem?

Answer

srgg6701 picture srgg6701 · Jul 12, 2016

The answer is here: https://community.oracle.com/message/12743335#

If multiple JDK installed on your computer, set JAVA_HOME before installing WLS. In your case: JDK 1.8 is not certified with the weblogic 10.3.6.
You must not set the JAVA_HOME variable after installation. The installer adds the correct Java Location in config files.

So I just change the JAVA_HOME variable to C:\Program Files\Java\jdk1.7.0_03