1 Reply Latest reply on Mar 12, 2014 11:38 AM by Suraj -Oracle

    Create domain using JDk1.7 in weblogic11g

    72eb154e-7709-4aee-aa24-a901c84f5c5f

      starting weblogic with Java version:

      Unrecognized option: -jrockit

      Error: Could not create the Java Virtual Machine.

      Error: A fatal exception has occurred. Program will exit.

      Starting WLS with line:

      /env/jdk1.7.0_45/bin/java -jrockit   -Xms512m -Xmx512m -Dweblogic.Name=AdminServer -Djava.security.policy=/env/weblogic11/wlserver_10.3/server/lib/weblogic.policy  -Xverify:none  -da -Dplatform.home=/env/weblogic11/wlserver_10.3 -Dwls.home=/env/weblogic11/wlserver_10.3/server -Dweblogic.home=/env/weblogic11/wlserver_10.3/server   -Dweblogic.management.discover=true  -Dwlw.iterativeDev= -Dwlw.testConsole= -Dwlw.logErrorsToConsole= -Dweblogic.ext.dirs=/env/weblogic11/patch_wls1035/profiles/default/sysext_manifest_classpath:/env/weblogic11/patch_oepe1050/profiles/default/sysext_manifest_classpath:/env/weblogic11/patch_ocp360/profiles/default/sysext_manifest_classpath  weblogic.Server

      Unrecognized option: -jrockit

      Error: Could not create the Java Virtual Machine.

      Error: A fatal exception has occurred. Program will exit.

        • 1. Re: Create domain using JDk1.7 in weblogic11g
          Suraj -Oracle

          Hello,

           

          Looks like your JDK path is not correctly set for Weblogic. Can you verify if your setDomainEnv.sh/cmd file pointing to correct JDK version.

           

          If not, you can modify setDomainEnv.sh/cmd by pointing to a supported JVM version/vendor.

           

          Example:

          if "%JAVA_VENDOR%"=="Oracle" (

          set JAVA_HOME=%BEA_JAVA_HOME%

          ) else (

          if "%JAVA_VENDOR%"=="Sun" (

          set JAVA_HOME=%SUN_JAVA_HOME%

          ) else (

          set JAVA_VENDOR=Oracle

          set JAVA_HOME=C:\Program Files\Java\jrockit-jdk1.6.0_24-R28.1.3-4.0.1

          )

           

          For more info, please refer following Oracle KM article

          Starting Weblogic With Java Version:Unrecognized Option: -Jrockit [Article ID 1417644.1]

           

          Hope this helps.

           

           

          Regards,

          Suraj