How Do I: Configure WebLogic Server to Run on the WebLogic JRockit Java Virtual Machine?

The WebLogic JRockit Java Virtual Machine (JVM) has been developed uniquely for server-side applications and optimized for Intel architectures to ensure reliability, scalability, and manageability for Java applications. This topic describes how to configure WebLogic Server to use the JRockit JVM.

If you use the BEA Configuration Wizard or a template to create a new domain, that domain will use the JVM that you selected when you created the domain.

To Configure WebLogic Server to Use the JRockit JVM:

  1. Locate the file setDomainEnv.cmd on Windows, or setDomainEnv.sh on Linux, in the root directory for your domain.
  2. Open this file for editing in a text editor.
  3. On the very first line of the file, add a line to set the JAVA_VENDOR environment variable to BEA. On Windows, add the line SET JAVA_VENDOR=BEA. On Linux, add the line EXPORT JAVA_VENDOR=BEA, or use the syntax appropriate to the Linux shell you're using.
  4. Restart WebLogic Server.

Note that if the JAVA_VENDOR environment variable is not set in the setDomainEnv configuration file, WebLogic Server will use the value that's specified for that variable in the commEnv configuration file, which is in the BEA_HOME/weblogic81/common/bin directory.

Related Topics

BEA WebLogic JRockit 8.1 SDK Documentation