To Configure the JVM General Settings

The Java Virtual Machine (JVM) is included in the Java Platform, Standard Edition (Java SE platform), which is required by the Enterprise Server. Incorrect JVM settings will prevent the server from running, so use care when changing these settings.

  1. In the navigation tree, select the Application Server node.

    The General Information page opens.

  2. On the General Information page, click the JVM Settings tab.

    The JVM General Settings page opens.

  3. On the JVM General Settings page, in the Java Home field, type the name of the installation directory of the Java SE software.

    The Enterprise Server relies on the Java SE platform. To verify that the version of Java SE software that you specify is supported in this release, see the Sun GlassFish Enterprise Server v3 Release Notes. If you enter a nonexistent directory name or the directory for an unsupported version of Java SE software, then Enterprise Server will not start.

  4. In the Javac Options field, type the command-line options for the Java programming language compiler.

    The Enterprise Server runs the compiler when Enterprise JavaBeansTM (EJBTM) components are deployed.

  5. Select the Debug Enabled checkbox to enable debugging with the Java Platform Debugger Architecture (JPDA).

    JPDA is used by application developers. For more information, see the Sun GlassFish Enterprise Server v3 Application Development Guide.

  6. In the Debug Options field, type the JPDA options to be passed to the JVM.

    This field is applicable only if debugging was enabled in the preceding step.

  7. In the RMI Compile Options field, type the command-line options for the rmic compiler.

    The Enterprise Server runs the rmic compiler when EJB components are deployed.

  8. In the Bytecode Preprocessor field, type a list of class names.

    Use commas to separate class names. Each class must implement the com.sun.appserv.BytecodePreprocessor interface. The classes are called in the order specified.

  9. Click Save.
  10. Restart the server.
See Also