C 20H A P T E R 2 0

Java Virtual Machine and Advanced Settings

The Java Virtual Machine (JVM) is an interpretive computing engine responsible for running the byte codes in a compiled Java program. The JVM translates the Java byte codes into the native instructions of the host machine. The Enterprise Server, being a Java process, requires a JVM in order to run and support the Java applications running on it. JVM settings are part of an application server configuration.

This chapter explains how to configure the Java Virtual Machine (JVMTM) and other advanced settings. It contains the following sections:

“Tuning the JVM Settings” on page 219

“Configuring Advanced Settings” on page 220

Tuning the JVM Settings

As part of configuring the application server, you define settings that enhance the use of the Java Virtual machine. To change the JVM configuration using the Admin Console, select Application Server > JVM Settings tab and define the general JVM settings as follows:

Java Home: Enter the name of the installation directory of the Java software. The Enterprise Server relies on the Java SE software.

Note – If you enter a nonexistent directory name or the installation directory name of an unsupported version of the Java EE software, then the Enterprise Server will not start.

Javac Options: Enter the command-line options for the Java programming language compiler. The Enterprise Server runs the compiler when EJB components are deployed.

Debug: To set up debugging with the JPDA (Java Platform Debugger Architecture), select this Enabled checkbox.

JPDA is used by application developers.

219

Page 219
Image 219
Sun Microsystems 820433510 manual Java Virtual Machine and Advanced Settings, Tuning the JVM Settings