protected final void addToolsJarToClasspath(JvmLauncher java) throws FileNotFoundException {
  if (!JdkUtils.isOSX() && jvmMajorVersion < 9) {
    java.addClasspathEntries(JdkUtils.getToolsJar(getJavaHome()));
  }
}

protected final void addToolsJarToClasspath ( JvmLauncher java ) throws FileNotFoundException { if ( ! JdkUtils . isOSX ( ) && jvmMajorVersion < 9 ) { java . addClasspathEntries ( JdkUtils . getToolsJar ( getJavaHome ( ) ) ) ; } }
adds the tools . jar to the classpath , except for mac osx and java 9 or above - as these jvms do not need the tools . jar .
