Sun Java System Application Server Platform Edition 8.1 2005Q2 Update 2 Administration Reference

- Previous: jacc-provider
- Next: jdbc-connection-pool

## java-config

Specifies Java Virtual Machine (JVM) configuration parameters.

### Superelements

config

### Subelements

The following table describes subelements for the `java-config` element.

Table 1–57 `java-config` Subelements

Element | Required | Description
--- | --- | ---
profiler | zero or one | Configures a profiler for use with the Application Server.
jvm-options | zero or more | Contains JVM command line options.
property | zero or more | Specifies a property or a variable.

### Attributes

The following table describes attributes for the `java-config` element.

Table 1–58 `java-config` Attributes

Attribute | Default | Description
--- | --- | ---
`java-home` | none | The path to the directory where the JDK is installed.
`debug-enabled` | `false` | (optional) If `true`, the server starts up in debug mode ready for attachment with a JPDA-based debugger.
`debug-options` | `-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n` | (optional) Specifies JPDA (Java Platform Debugger Architecture) options. A list of debugging options is available at http://java.sun.com/products/jpda/doc/conninv.html#Invocation. For more information about debugging, see the Sun Java System Application Server Platform Edition 8.1 2005Q2 Update 2 Developer’s Guide.
`rmic-options` | `-iiop` `-poa` `-alwaysgenerate` `-keepgenerated -g` | (optional) Specifies options passed to the RMI compiler at application deployment time. The `-keepgenerated` option saves generated source for stubs and ties.
`javac-options` | `-g` | (optional) Specifies options passed to the Java compiler at application deployment time.
`classpath-prefix` | none | (optional) Specifies a prefix for the system classpath. Only prefix the system classpath to override system classes, such as the XML parser classes. Use this attribute with caution.
`classpath-suffix` | none | (optional) Specifies a suffix for the system classpath.
`server-classpath` | none | (optional) Specifies the classpath for the environment from which the server was started. This classpath can be accessed using `System.getProperty("java.class.path")` .
`native-library-path-prefix` | none | (optional) Specifies a prefix for the native library path. The native library path is the automatically constructed concatenation of the Application Server installation relative path for its native shared libraries, the standard JRE native library path, the shell environment setting (`LD_LIBRARY_PATH` on UNIX), and any path specified in the `profiler` element. Since this is synthesized, it does not appear explicitly in the server configuration.
`native-library-path-suffix` | none | (optional) Specifies a suffix for the native library path.
`bytecode-preprocessors` | none | (optional) A comma separated list of class names, each of which must implement the `com.sun.appserv.BytecodePreprocessor` interface. Each of the specified preprocessor classes is called in the order specified.
`env-classpath-ignored` | `true` | (optional) If `false`, the `CLASSPATH` environment variable is read and appended to the Application Server classpath. The `CLASSPATH` environment variable is added after the `classpath-suffix`, at the very end. For a development environment, this value should be set to `false`. To prevent environment variable side effects in a production environment, set this value to `true`.

- Previous: jacc-provider
- Next: jdbc-connection-pool

- © 2010, Oracle Corporation and/or its affiliates