URL () { String home = SystemProperties.getJavaHome(); try { return JavaVersion.current().feature >= 9 ? new URL("jrt:" + home) : new File(home + "/lib/rt.jar").toURI().toURL(); } catch (MalformedURLException e) { throw new RuntimeException(e); } }