Java VM Install Types

org.eclipse.jdt.launching.vmInstallTypes

This extension point represents different kinds of Java runtime environments and development kits. Each extension must implement org.eclipse.jdt.launching.IVMInstallType. 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.

<!ELEMENT extension (vmInstallType*)>

<!ATTLIST extension

point CDATA #REQUIRED

id    CDATA #IMPLIED

name  CDATA #IMPLIED>


<!ELEMENT vmInstallType EMPTY>

<!ATTLIST vmInstallType

id    CDATA #REQUIRED

class CDATA #REQUIRED>


The following is an example of an IVMInstallType for the J9 VM:

 

<extension point=

"org.eclipse.jdt.launching.vmInstallTypes"

>

<vmInstallType class=

"org.eclipse.jdt.internal.launching.j9.J9VMInstallType"

id=

"org.eclipse.jdt.internal.launching.j9.J9Type"

>

</vmInstallType>

</extension>

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 JRE.