| <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> |
| <html> |
| <head> |
| <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> |
| <meta http-equiv="Content-Style-Type" content="text/css"> |
| <meta name="GENERATOR" content="Mozilla/4.75 [en] (Windows NT 5.0; U) [Netscape]"> |
| <title> |
| Classpath variables |
| </title> |
| <link rel="stylesheet" href="../book.css" charset="ISO-8859-1" type="text/css"> |
| </head> |
| <body> |
| <h1> |
| Classpath variables |
| </h1> |
| <h2 class="Head"> |
| Configurable variables |
| </h2> |
| <p> |
| Classpath variables can be used in a Java Build Path to avoid a reference to the local file system. Using a variable entry, the classpath only contains a variable and the |
| build path can be shared in a team. The value of the variable has to be configured on this page. |
| </p> |
| <table border="1" cellspacing="0" cellpadding="5" width="100%"> |
| <caption> |
| <br> |
| </caption> |
| <tr> |
| <th> |
| <p> |
| Command |
| </p> |
| </th> |
| <th> |
| <p> |
| Description |
| </p> |
| </th> |
| </tr> |
| <tr> |
| <td valign="top"> |
| <p> |
| <strong>New...</strong> |
| </p> |
| </td> |
| <td valign="top"> |
| <p> |
| Adds a new variable entry. In the resulting dialog, specify a name and path for the new variable. You can click the <strong>File</strong> |
| or <strong>Folder</strong> buttons to browse for a path. |
| </p> |
| </td> |
| </tr> |
| <tr> |
| <td valign="top"> |
| <p> |
| <strong>Edit...</strong> |
| </p> |
| </td> |
| <td valign="top"> |
| <p> |
| Allows you to edit the selected variable entry. In the resulting dialog, edit the name and/or path for the variable. You can click the <strong>File</strong> |
| or <strong>Folder</strong> buttons to browse for a path. |
| </p> |
| </td> |
| </tr> |
| <tr> |
| <td valign="top"> |
| <p> |
| <strong>Remove</strong> |
| </p> |
| </td> |
| <td valign="top"> |
| <p> |
| Removes the selected variable entry. |
| </p> |
| </td> |
| </tr> |
| </table> |
| <h2 class="Head"> |
| Reserved class path variables |
| </h2> |
| <p> |
| Certain class path variables are set internally and can not be changed in the Classpath variables preferences: |
| </p> |
| <ul> |
| <li> |
| JRE_LIB: The archive with the runtime JAR file for the currently used JRE. |
| </li> |
| <li> |
| JRE_SRC: The source archive for the currently used JRE. |
| </li> |
| <li> |
| JRE_SRCROOT: The root path in the source archive for the currently used JRE. |
| </li> |
| </ul> |
| <p> |
| <img src="../images/ngrelc.gif" alt="Related concepts" height="27" width="159"> |
| </p> |
| <p> |
| <a href="../concepts/cclsspthv.htm">Classpath variables</a> |
| </p> |
| <p> |
| <img src="../images/ngrelt.gif" alt="Related tasks" height="27" width="159"> |
| </p> |
| <p> |
| <a href="../tasks/tasks-119.htm">Working with JREs</a><br> |
| <a href="../tasks/tasks-110.htm">Working with build paths</a><br> |
| <a href="../tasks/tasks-114.htm">Adding a variable classpath entry</a><br> |
| <a href="../tasks/tasks-116.htm">Attaching source to a classpath variable</a><br> |
| <a href="../tasks/tasks-117.htm">Defining a classpath variable</a><br> |
| <a href="../tasks/tasks-118.htm">Deleting a classpath variable</a> |
| </p> |
| <p> |
| <img src="../images/ngrelr.gif" alt="Related reference" height="27" width="159"> |
| </p> |
| <p> |
| <a href="ref-18.htm">Installed JREs</a> |
| </p> |
| <a href="../hglegal2003.htm"><img src="../images/ngibmcpy2003.gif" alt="Copyright (c) 2000, 2003 IBM Corporation and others. All Rights Reserved." border="0" width="324" height="14"></a> |
| </body> |
| </html> |
| |