Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

weblogic 10.3.5 installation error. Unrecognized option: -jrockit

I'm trying to install weblogic 10.3.5 in 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 the generic downloads. Looks like JDK is not attacked to the jar so i had to specify the path during the installation. I pointed them to 64 bit JDK 1.7.0_05. The installation took just 3-5mins and it said it was successful but during the weblogic start i get this error and the console doesnt open.

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

I tried couple of times but still i get the same issue. Any inputs?

like image 721
Geek Avatar asked Dec 20 '22 18:12

Geek


1 Answers

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

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

And it's working fine now :)

like image 68
NNB Avatar answered Dec 24 '22 03:12

NNB