beautypg.com

Java virtual machine and advanced settings, Tuning the jvm settings – Sun Microsystems GLASSFISH ENTERPRISE 820433510 User Manual

Page 219

background image

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

TM

) 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.

20

C H A P T E R

2 0

219