public class Standard11xVMType extends StandardVMType
ID_STANDARD_VM_TYPE, MIN_VM_SIZE| Constructor and Description |
|---|
Standard11xVMType() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
canDetectDefaultSystemLibraries(java.io.File javaHome,
java.io.File javaExecutable)
Return
true if the appropriate system libraries can be found for the
specified java executable, false otherwise. |
protected IVMInstall |
doCreateVMInstall(java.lang.String id)
Subclasses should return a new instance of the appropriate
IVMInstall subclass from this method. |
protected java.io.File |
getDefaultEndorsedDirectory(java.io.File installLocation)
Returns the default location of the endorsed directory, based on the
given install location.
|
protected java.io.File |
getDefaultExtensionDirectory(java.io.File installLocation)
Returns
null - not supported. |
LibraryLocation[] |
getDefaultLibraryLocations(java.io.File installLocation)
Returns a collection of
LibraryLocations that represent the
default system libraries of this VM install type, if a VM was installed
at the given installLocation. |
protected IPath |
getDefaultSystemLibrary(java.io.File installLocation)
Return an
IPath corresponding to the single library file containing the
standard Java classes for most VMs version 1.2 and above. |
protected IPath |
getDefaultSystemLibrarySource(java.io.File libLocation)
Returns a path to the source attachment for the given library, or
an empty path if none.
|
java.lang.String |
getName()
Returns the display name of this VM type.
|
detectInstallLocation, disposeVMInstall, findJavaExecutable, gatherAllLibraries, generateLibraryInfo, getDefaultJavadocLocation, getDefaultJavadocLocation, getDefaultLibraryInfo, getDefaultPackageRootPath, getDefaultRootPath, getJavaHomeLocation, getLibraryInfo, getVMVersion, parseLibraryInfo, parsePaths, setDefaultRootPath, validateInstallLocationcreateVMInstall, findVMInstall, findVMInstallByName, getDefaultVMArguments, getId, getVMInstalls, setInitializationDataprotected IPath getDefaultSystemLibrary(java.io.File installLocation)
StandardVMTypeIPath corresponding to the single library file containing the
standard Java classes for most VMs version 1.2 and above.getDefaultSystemLibrary in class StandardVMTypeinstallLocation - the Java home folderIPath to the rt.jar fileStandardVMType.getDefaultSystemLibrary(java.io.File)protected IVMInstall doCreateVMInstall(java.lang.String id)
AbstractVMInstallTypeIVMInstall subclass from this method.doCreateVMInstall in class StandardVMTypeid - The vm's id. The IVMInstall instance that is created must
return id from its getId() method.
Must not be null.null.AbstractVMInstallType.doCreateVMInstall(java.lang.String)protected IPath getDefaultSystemLibrarySource(java.io.File libLocation)
StandardVMTypegetDefaultSystemLibrarySource in class StandardVMTypelibLocation - the File location of the library to find the source forStandardVMType.getDefaultSystemLibrarySource(java.io.File)public java.lang.String getName()
IVMInstallTypegetName in interface IVMInstallTypegetName in class StandardVMTypeprotected java.io.File getDefaultExtensionDirectory(java.io.File installLocation)
null - not supported.getDefaultExtensionDirectory in class StandardVMTypeinstallLocation - the VM install locationnullStandardVMType.getDefaultExtensionDirectory(File)protected java.io.File getDefaultEndorsedDirectory(java.io.File installLocation)
StandardVMTypenull if an endorsed directory is not supported.getDefaultEndorsedDirectory in class StandardVMTypeinstallLocation - the VM install locationnullStandardVMType.getDefaultEndorsedDirectory(java.io.File)public LibraryLocation[] getDefaultLibraryLocations(java.io.File installLocation)
IVMInstallTypeLibraryLocations that represent the
default system libraries of this VM install type, if a VM was installed
at the given installLocation.
The returned LibraryLocations may not exist if the
installLocation is not a valid install location.getDefaultLibraryLocations in interface IVMInstallTypegetDefaultLibraryLocations in class StandardVMTypeinstallLocation - home locationinstallLocation.IVMInstallType.getDefaultLibraryLocations(java.io.File)protected boolean canDetectDefaultSystemLibraries(java.io.File javaHome,
java.io.File javaExecutable)
true if the appropriate system libraries can be found for the
specified java executable, false otherwise.canDetectDefaultSystemLibraries in class StandardVMTypejavaHome - the Java home folderjavaExecutable - the Java executable filetrue if the default system libraries can be detected for the given install location
false otherwise