blob: 6624246936fc0afc6964f1c5856eb95987fee997 [file] [log] [blame]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HEAD><meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<STYLE type="text/css">
div.dtd-fragment {
width: 100%;
border: none;
background-color: #eee;
}
</STYLE>
</HEAD>
<HTML>
<BODY>
<H1><CENTER>Java VM Install Types</CENTER></H1>
<b><i>Identifier: </i></b>org.eclipse.jdt.launching.vmInstallTypes<p>
<b><i>Description: </i></b>This extension point represents different kinds of Java runtime environments and development kits.
Each extension must implement <samp>org.eclipse.jdt.launching.IVMInstallType</samp>.
An IVMInstallType is responsible for creating and managing a set of instances of its corresponding IVMInstall class.
Through creating different IVMInstall objects, an IVMInstallType allows for specific behaviour for various Java VMs.
A UI for managing IVMInstalls is provided by the Java Debug UI plug-in.<p><b><i>Configuration Markup:</i></b><p>
<p><samp><font color="#800000">&nbsp;&nbsp; &lt;!ELEMENT <a name="e.extension">extension</a> (<a href="#e.vmInstallType">vmInstallType</a>*)&gt;</font></samp>
<br><br><samp><font color="#800000">&nbsp;&nbsp; &lt;!ATTLIST extension</samp>
<br><samp>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;point&nbsp;CDATA #REQUIRED</samp>
<br><samp>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;id&nbsp;&nbsp;&nbsp;&nbsp;CDATA #IMPLIED</samp>
<br><samp>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;name&nbsp;&nbsp;CDATA #IMPLIED</samp>
<br><samp>&nbsp;&nbsp; &gt;</font></samp>
<ul>
<li><b>point</b> - a fully qualified identifier of the target extension point</li>
<li><b>id</b> - an optional identifier of the extension instance</li>
<li><b>name</b> - an optional name of the extension instance</li>
</ul>
<p><samp><font color="#800000">&nbsp;&nbsp; &lt;!ELEMENT <a name="e.vmInstallType">vmInstallType</a> EMPTY&gt;</font></samp>
<br><br><samp><font color="#800000">&nbsp;&nbsp; &lt;!ATTLIST vmInstallType</samp>
<br><samp>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;id&nbsp;&nbsp;&nbsp;&nbsp;CDATA #REQUIRED</samp>
<br><samp>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;class&nbsp;CDATA #REQUIRED</samp>
<br><samp>&nbsp;&nbsp; &gt;</font></samp>
<ul>
<li><b>id</b> - a unique identifier that can be used to reference this IVMInstallType.</li>
<li><b>class</b> - the class that implements this VM install type. The class must implement IVMInstallType.</li>
</ul>
<b><i>Examples: </i></b>The following is an example of an IVMInstallType for the J9 VM:
<p>
<pre>
<font color="#000080">&lt;extension point=<font color="#008000">&quot;org.eclipse.jdt.launching.vmInstallTypes&quot;</font>&gt;</font>
<font color="#000080">&lt;vmInstallType
class=<font color="#008000">&quot;org.eclipse.jdt.internal.launching.j9.J9VMInstallType&quot;</font>
id=<font color="#008000">&quot;org.eclipse.jdt.internal.launching.j9.J9Type&quot;</font>&gt;</font>
<font color="#000080">&lt;/vmInstallType&gt;</font>
<font color="#000080">&lt;/extension&gt;</font>
</pre>
</p><p>
<b><i>Supplied Implementation: </i></b>Abstract implementations of IVMInstall and IVMInstallType are provided. The Java Development Tools Launching Support plug-in defines a VM
install type for the standard 1.1.* and 1.2/1.3/1.4 level <b>JRE</b>.<p>
<font size="-1" color="#336699">
<p>
<a href="hglegal.htm">
<img SRC="ngibmcpy.gif"
ALT="Copyright (c) 2000, 2003 IBM Corporation and others. All Rights Reserved."
BORDER=0 height=14 width=324></a>
</p><p>
</font>
</BODY>
</HTML>