private static URL tryGetJrtURL() {
    final String home = System.getProperty("java.home");
    if (new File(home, "lib/jrt-fs.jar").isFile()) {
      // this is a modular jdk where platform classes are stored in a jrt-fs image
      try {
        return InstrumentationClassFinder.createJDKPlatformUrl(home);
      }
      catch (MalformedURLException ignored) {
      }
    }
    return null;
  }
private static URL tryGetJrtURL()