String[] extDirs = parsePaths(extDirPaths); String[] endDirs = parsePaths(endorsedDirsPath); return new LibraryInfo(version, bootPath, extDirs, endDirs);
String[] extDirs = parsePaths(extDirPaths); String[] endDirs = parsePaths(endorsedDirsPath); return new LibraryInfo(version, bootPath, extDirs, endDirs);
String[] endDirs = getPathsFromXML(element, "endorsedDirs"); //$NON-NLS-1$ if (location != null) { LibraryInfo info = new LibraryInfo(version, bootpath, extDirs, endDirs); fgLibraryInfoMap.put(location, info);
LaunchingPlugin.log(LaunchingMessages.VMLogging_1 + location); LibraryInfo info = new LibraryInfo(version, bootpath, extDirs, endDirs); fgLibraryInfoMap.put(location, info);
/** * Returns default library information for the given install location. * * @param installLocation the VM install location * @return LibraryInfo */ protected LibraryInfo getDefaultLibraryInfo(File installLocation) { IPath rtjar = getDefaultSystemLibrary(installLocation); File extDir = getDefaultExtensionDirectory(installLocation); File endDir = getDefaultEndorsedDirectory(installLocation); String[] dirs = null; if (extDir == null) { dirs = new String[0]; } else { dirs = new String[] {extDir.getAbsolutePath()}; } String[] endDirs = null; if (endDir == null) { endDirs = new String[0]; } else { endDirs = new String[] {endDir.getAbsolutePath()}; } return new LibraryInfo("???", new String[] {rtjar.toOSString()}, dirs, endDirs); //$NON-NLS-1$ }
/** * Returns default library information for the given install location. * * @param installLocation the VM install location * @return LibraryInfo */ protected LibraryInfo getDefaultLibraryInfo(File installLocation) { IPath rtjar = getDefaultSystemLibrary(installLocation); File extDir = getDefaultExtensionDirectory(installLocation); File endDir = getDefaultEndorsedDirectory(installLocation); String[] dirs = null; if (extDir == null) { dirs = new String[0]; } else { dirs = new String[] {extDir.getAbsolutePath()}; } String[] endDirs = null; if (endDir == null) { endDirs = new String[0]; } else { endDirs = new String[] {endDir.getAbsolutePath()}; } return new LibraryInfo("???", new String[] {rtjar.toOSString()}, dirs, endDirs); //$NON-NLS-1$ }
return new LibraryInfo("1.1.x", new String[] {classesZip.toOSString()}, new String[0], new String[0]); //$NON-NLS-1$
return new LibraryInfo("1.1.x", new String[] {classesZip.toOSString()}, new String[0], new String[0]); //$NON-NLS-1$
String version = readReleaseVersion(javaHome); if (JavaCore.compareJavaVersions(version, JavaCore.VERSION_1_8) > 0) { info = new LibraryInfo(version, new String[0], new String[0], new String[0]); LaunchingPlugin.setLibraryInfo(installPath, info); } else {