// jre src found.
if(jreSrc.toFile().exists()){
logger.info("Setting '{}' to '{}'",
JavaRuntime.JRESRC_VARIABLE, jreSrc);
newLocations[ii] = new LibraryLocation(
locations[ii].getSystemLibraryPath(),
jreSrc,
locations[ii].getPackageRootPath(),
locations[ii].getJavadocLocation());
// jre src not found.
}else{
logger.debug(
"Unable to locate jre src.zip for JAVA_HOME: " +
SystemUtils.JAVA_HOME);
newLocations[ii] = new LibraryLocation(
locations[ii].getSystemLibraryPath(),
Path.EMPTY,
locations[ii].getPackageRootPath(),
locations[ii].getJavadocLocation());
}