Java Virtual Machine And Advanced Settings; Tuning The Jvm Settings - Sun Microsystems GlassFish Enterprise Server 2.1 Administration Manual

Hide thumbs Also See for GlassFish Enterprise Server 2.1:
Table of Contents

Advertisement

20
C H A P T E R

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 (JVM
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:
2 0
Java Home: Enter the name of the installation directory of the Java software. The Enterprise
Server relies on the Java SE software.
If you enter a nonexistent directory name or the installation directory name of an
Note –
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.
TM
) and other advanced
219

Advertisement

Table of Contents
loading

Table of Contents