Configuring the JVM
As part of configuring an application server, you might define settings that enhance the way your operating system uses of the Java™ virtual machine (JVM).
About this task
The JVM is an interpretive computing engine that is 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 application server, being a Java process, requires a JVM to run and to support the Java applications running on it. JVM settings are part of an application server configuration.
To view and change the JVM configuration for an application server process, use the Java virtual machine page of the administrative console or use wsadmin scripts to change the configuration.
避免困難: When a child process starts, Java appends the runtime path to the LIBPATH
environment variable to ensure that it is using the correct library
paths. Because this implementation does not check to see if the runtime
path already exists in the LIBPATH environment variable, existing
entries might be duplicated. However, when the parent process restarts,
all of the runtime paths that were added to the LIBPATH environment
variable when child processes started are removed from the LIBPATH
environment variable.gotchaProcedure
- In the administrative console, click .
- Under Server Infrastructure, click .
- Select .
- Specify values for the JVM settings as needed, and click For more information, see the documentation about Java virtual machine settings.
- Click in the messages section of the administrative console panel to save the changes to the master configuration.
- Restart the application server.
Example
配置 JVM sendRedirect 呼叫來使用環境定義根目錄 provides an example that involves defining a property for the JVM.
![[AIX Solaris HP-UX Linux Windows]](../images/dist.gif)
![[IBM i]](../images/iseries.gif)

作業主題