blob: dfa969be3f3a1231598680e55b2a85279e4f3d51 [file] [log] [blame]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//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">
<link rel="stylesheet" href="../book.css" charset="ISO-8859-1" type="text/css">
<title>
Choosing a JRE for a launch configuration
</title>
<script language="JavaScript" src="PLUGINS_ROOT/org.eclipse.help/livehelp.js"> </script>
</head>
<body>
<h1>
Choosing a JRE for a launch configuration
</h1>
<p>
Instead of using the default JRE for running and debugging all Java Application launch configurations, you can specifically assign a JRE for launching an individual
configuration.
</p>
<ol>
<li>
With a Java Application configuration selected in the
<a class="command-link" href='javascript:executeCommand("org.eclipse.debug.ui.commands.OpenRunConfigurations")'>
<img src="PLUGINS_ROOT/org.eclipse.help/command_link.png">
<strong>Launch Configuration Dialog</strong></a>, select the JRE tab.
</li>
<li>
In the list of available JREs, select the JRE you want to use to launch this configuration and click <strong>Apply</strong>,
<strong>Run</strong>, or <strong>Debug</strong>.
</li>
</ol>
<p>
<strong>Note</strong>: Changing the JRE used for running does not affect the way Java source is compiled. You can adjust the build path to compile against custom
libraries.&nbsp;
</p>
<p>
<img border="0" src="../images/ngrelc.png" alt="Related concepts" ><br>
<a href="../concepts/concepts-1.htm">Java development tools (JDT)</a>
</p>
<p>
<img border="0" src="../images/ngrelt.png" alt="Related tasks" ><br>
<a href="tasks-120.htm">Assigning the default JRE for the workbench</a><br>
<a href="../tasks/tasks-126.htm">Running and debugging</a><br>
<a href="../tasks/tasks-110.htm">Working with build paths</a><br>
<a href="../tasks/tasks-JREs.htm">Working with JREs</a>
</p>
</body>
</html>