| <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> |
| <html lang="en"> |
| <head> |
| <meta name="copyright" content="Copyright (c) IBM Corporation and others 2000, 2008. 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" type="text/javascript"> </script> |
| </head> |
| <body> |
| <h1> |
| Choosing a JRE for a launch configuration |
| </h1> |
| <p> |
| Instead of using the default JRE for running and debugging all <strong>Java Application</strong> 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.svg" alt="Opens the Launch Configuration dialog"> |
| <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>, then <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. |
| </p> |
| |
| <h3 class="related">Related concepts</h3> |
| <a href="../concepts/concept-jdt.htm">Java development tools (JDT)</a> |
| <h3 class="related">Related tasks</h3> |
| <a href="../tasks/tasks-JREs.htm">Working with JREs</a><br> |
| <a href="../tasks/task-add_new_jre.htm">Adding a new JRE definition</a><br> |
| <a href="tasks-deleteJRE.htm">Deleting a JRE definition</a><br> |
| <a href="../tasks/task-assign_default_jre.htm">Choosing a default JRE</a> |
| <h3 class="related">Related references</h3> |
| <a href="../reference/preferences/java/debug/ref-installed_jres.htm">Installed JREs preference page</a> |
| </body> |
| </html> |
| |