/** * Return <code>true</code> if the appropriate system libraries can be found for the * specified java executable, <code>false</code> otherwise. */ @Override protected boolean canDetectDefaultSystemLibraries(File javaHome, File javaExecutable) { LibraryLocation[] locations = getDefaultLibraryLocations(javaHome); String version = getVMVersion(javaHome, javaExecutable); return locations.length > 0 && version.startsWith("1.1"); //$NON-NLS-1$ } }
/** * @see org.eclipse.jdt.internal.launching.StandardVMType#getDefaultSystemLibrarySource(java.io.File) */ @Override protected IPath getDefaultSystemLibrarySource(File libLocation) { setDefaultRootPath(""); //$NON-NLS-1$ return Path.EMPTY; }
/** * @see org.eclipse.jdt.launching.IVMInstallType#getDefaultLibraryLocations(java.io.File) */ @Override public LibraryLocation[] getDefaultLibraryLocations(File installLocation) { IPath libPath = getDefaultSystemLibrary(installLocation); File lib = libPath.toFile(); if (lib.exists()) { return new LibraryLocation[] {new LibraryLocation(libPath, getDefaultSystemLibrarySource(lib), getDefaultPackageRootPath())}; } return new LibraryLocation[0]; }
/** * @see org.eclipse.jdt.launching.IVMInstallType#getDefaultLibraryLocations(java.io.File) */ @Override public LibraryLocation[] getDefaultLibraryLocations(File installLocation) { IPath libPath = getDefaultSystemLibrary(installLocation); File lib = libPath.toFile(); if (lib.exists()) { return new LibraryLocation[] {new LibraryLocation(libPath, getDefaultSystemLibrarySource(lib), getDefaultPackageRootPath())}; } return new LibraryLocation[0]; }
/** * Return <code>true</code> if the appropriate system libraries can be found for the * specified java executable, <code>false</code> otherwise. */ @Override protected boolean canDetectDefaultSystemLibraries(File javaHome, File javaExecutable) { LibraryLocation[] locations = getDefaultLibraryLocations(javaHome); String version = getVMVersion(javaHome, javaExecutable); return locations.length > 0 && version.startsWith("1.1"); //$NON-NLS-1$ } }
/** * @see org.eclipse.jdt.internal.launching.StandardVMType#getDefaultSystemLibrarySource(java.io.File) */ @Override protected IPath getDefaultSystemLibrarySource(File libLocation) { setDefaultRootPath(""); //$NON-NLS-1$ return Path.EMPTY; }