How To Change The JDK Type (Sun / JRockit) or JDK Version for a Given FMW 11g Domain
Last updated on APRIL 27, 2017
Applies to:Oracle WebLogic Server - Version 10.3.6 to 10.3.6
Oracle Fusion Middleware - Version 126.96.36.199.0 to 188.8.131.52.0 [Release Oracle11g]
Information in this document applies to any platform.
How to replace the JDK Type (From Sun to JRockit or vice versa) used in a single WLS domain running Fusion Middleware 11g products. For other scenarios such as changing the JDK version for an FMW installation see <note 1492980.1> (i.e. to replace the default JDK used by all the domains and all the tools)
NOTE 2: This procedure switches the JDK for a given domain, i.e. for all the WLS processes of that domain. To switch it for an individual WebLogic Server just define JAVA_VENDOR and JAVA_HOME in the environment before running startWebLogic.sh / startManagedWebLogic.sh to perform the switch.
NOTE 3: This document does not cover all customs (albeit valid) configurations. For example if the WebLogic server is started from a customized script which set the variable USER_MEM_ARGS to change JVM arguments, you must adapt them to the format of the JVM vendor (e.g. -Xmx:1g is the valid format for JRockit and -Xmx1g is valid for Sun JDK, other switches may not exist in both versions, GC mode are different, etc).
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