JpsSdk<JpsDummyElement> (final String name) { try { String pathToRtJar = ClasspathBootstrap.getResourcePath(Object.class); String path = pathToRtJar == null ? null : FileUtil.toSystemIndependentName(new File(pathToRtJar).getCanonicalPath()); return addJdk(name, path); } catch (IOException e) { throw new RuntimeException(e); } }