blob: 58a08b69edf5d2a2eb2b3becf3d089d423d42809 [file] [log] [blame]
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta name="copyright" content="Copyright (c) IBM Corporation and others 2000, 2005. This page is made available under license. For full details see the LEGAL in the documentation book that contains this page." >
<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>
Editing a JRE definition
</title>
<link rel="stylesheet" href="../book.css" charset="ISO-8859-1" type="text/css">
<script language="JavaScript" src="PLUGINS_ROOT/org.eclipse.help/livehelp.js"> </script>
</head>
<body>
<h1>
Editing a JRE definition
</h1>
<p>
<br>
You can modify all settings for a JRE definition except its JRE type.
</p>
<ol>
<li>
Open the
<a class="command-link" href='javascript:executeCommand("org.eclipse.ui.window.preferences(preferencePageId=org.eclipse.jdt.debug.ui.preferences.VMPreferencePage)")'>
<img src="PLUGINS_ROOT/org.eclipse.help/command_link.png">
<strong>Java &gt; Installed JREs</strong></a> preference page.
</li>
<li>
Select the JRE definition that you want to edit and click <strong>Edit...</strong>. The Edit JRE page opens.
</li>
<li>
In the <strong>JRE name</strong> field, edit the name for the JRE definition. All JREs of the same type must have a unique name.
</li>
<li>
In the <strong>JRE home directory</strong> field, edit or click <strong>Browse...</strong> to select the path to the root
directory of the JRE installation (usually the directory containing the <em>bin</em> and <em>lib</em> directories for the JRE). This location is checked
automatically to make sure it is a valid path.
</li>
<li>
In the <strong>Javadoc URL</strong> field, edit or click <strong>Browse...</strong> to select the URL location. The location is
used by the Javadoc export wizard as a default value and by the 'Open External Javadoc' action.
</li>
<li>
If you want to use the default libraries and source files for this JRE, select the <strong>Use default system libraries</strong> checkbox.
Otherwise, clear it and customize as desired. Source can be attached for the referenced jars as well.
</li>
<li>
Click <strong>OK</strong> when you are done.
</li>
</ol>
<p>
<img src="../images/ngrelc.png" alt="Related concepts" border="0" > <br>
<a href="../concepts/concepts-1.htm">Java development tools (JDT)</a>
</p>
<p>
<img src="../images/ngrelt.png" alt="Related tasks" border="0" ><br>
<a href="tasks-121.htm">Adding a new JRE definition</a><br>
<a href="tasks-deleteJRE.htm">Deleting a JRE definition</a><br>
<a href="tasks-122.htm">Overriding the default system libraries for a JRE definition</a><br>
<a href="tasks-JREs.htm">Working with JREs</a>
</p>
<p>
<img src="../images/ngrelr.png" alt="Related reference" border="0" ><br>
<a href="../reference/ref-19.htm">Installed JREs preference page</a>
</p>
</body>
</html>