Weblogic 10.3.5 installation error. Unrecognized option: -jrockit

I am trying to install weblogic 10.3.5 on my machine. I downloaded it from this site: http://www.oracle.com/technetwork/middleware/ias/downloads/wls-main-097127.html , and for 64-bit I took general downloads. It seems that the JDK is not attacked in the bank, so I had to specify the path during installation. I pointed them to the 64-bit JDK 1.7.0_05. Installation took only 3-5 minutes, and she said that it was successful, but during the start of weblogic I get this error, and the console does not open.

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

I tried a couple of times, but still getting the same problem. Any inputs?

+4
source share
2 answers

Even I had the same issue with Weblogic 11g and Oracle JDK 1.7. Since the JVM was a HotSpot client, I changed the JAVA_VM parameter in the "commEnv.cmd" file under :oracle . Below is an excerpt from the file.

 :oracle if "%PRODUCTION_MODE%" == "true" goto oracle_prod_mode set JAVA_VM=-client 

And now it works great :)

+11
source

You can try using JDK 1.6. When the WebLogic 10 server was released, JDK 1.7 was not. Perhaps running the WebLogic script does not recognize your environment, and suppose you have a jrockit environment. Using JDK 1.6 should solve your problem.

UPD If you insist on using JDK 1.7, I suggest that you try to locate the problem in the run / setEnv server scripts and edit them to avoid the jrockit option.

0
source

All Articles