After Changing Java Version Unable To Start Environment

(Doc ID 2090361.1)

Last updated on MAY 23, 2017

Applies to:

Oracle WebCenter Sites - Version 11.1.1.8.0 and later
Information in this document applies to any platform.

Symptoms

After changing java to Sun Hotspot jdk1.7 and starting environment of WebCenter Sites getting following errors:

starting weblogic with Java version:
java version "1.7.0_76"
Java(TM) SE Runtime Environment (build 1.7.0_76-b13)
Java HotSpot(TM) 64-Bit Server VM (build 24.76-b04, mixed mode)
Starting WLS with line:
/u01/app/oracle/java/java64/jdk1.7.0_76/bin/java -client -Xms1024m -Xmx1024m -Dweblogic.Name=AdminServer -Djava.security.policy=/u01/app/oracle/wcsdev/wlserver_10.3/server/lib/weblogic.policy -Djava.awt.headless=true -Dcs.useJavaURLDecoder=false -Djava.net.preferIPv4Stack=true -Doracle.net.SDP=true -Dfile.encoding=UTF-8 -Dcs.useEhcache=true -Dnet.sf.ehcache.enableShutdownHook=true -Djava.io.tmpdir=/u01/tmp -Xmanagement:port=12081,ssl=false,authenticate=false,autodiscovery=true -Xverify:none -da -Dplatform.home=/u01/app/oracle/wcsdev/wlserver_10.3 -Dwls.home=/u01/app/oracle/wcsdev/wlserver_10.3/server -Dweblogic.home=/u01/app/oracle/wcsdev/wlserver_10.3/server -Dweblogic.management.discover=true -Dwlw.iterativeDev= -Dwlw.testConsole= -Dwlw.logErrorsToConsole= -Dweblogic.ext.dirs=/u01/app/oracle/wcsdev/patch_wls1036/profiles/default/sysext_manifest_classpath:/u01/app/oracle/wcsdev/patch_ocp371/profiles/default/sysext_manifest_classpath -Doracle.net.tns_admin=/shared/tns/oracle_nonprd weblogic.Server
Unrecognized option: -Xmanagement:port=12081,ssl=false,authenticate=false,autodiscovery=true
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms