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

ProcedureTo configure the JVM classpath settings

The classpath is the list of JAR files that the Java runtime environment searches for classes and other resource files.

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

  2. Click the JVM Settings tab.

  3. Select the Path Settings link below the tabs.

  4. On the JVM Classpath Settings page, you may specify the following:

    1. In the Environment Classpath checkbox, retain the default selection to ignore the CLASSPATH environment variable.

      The CLASSPATH environment variable is convenient for basic tutorials in programming, but is not recommended for enterprise environments.

    2. To view the Application Server’s classpath, examine the read-only contents of the Server Classpath field.

    3. To insert a JAR file into the beginning of the server’s classpath, enter the full path name of the file in the Classpath Prefix field.

    4. To add a JAR file to the end of the server’s classpath, enter the full path name of the file in the Classpath Suffix field.

      For example, you would specify the JAR file of a database driver. See To integrate a JDBC driver.

    5. In the Native Library Path Prefix and Suffix fields, you may prepend or append entries to the native library path.

      The native library path is a concatenation of the server’s 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 on the JVM Profiler Settings page.

  5. Click Save.

  6. Restart the server.

See Also