daikon.dcomp
Class BuildJDK.RtJarFinder
Object
BuildJDK.RtJarFinder
- Enclosing class:
- BuildJDK
public static class BuildJDK.RtJarFinder
- extends Object
Given an explicit rt.jar filename, or a root JDK or JRE directory, finds
the rt.jar file.
| Methods inherited from class Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BuildJDK.RtJarFinder
public BuildJDK.RtJarFinder(String arg)
- Parameters:
arg -
findRtJar
public String findRtJar(String spaceSeparatedJarLocations)
- Parameters:
spaceSeparatedJarLocations - a list of potential jar filenames to
look for, in case arg was a directory. For example, if arg was
/usr/bin/jd2sdk, and spaceSeparatedJarLocations was
"jre/lib/rt.jar", this could return
/usr/bin/jd2sdk/jre/lib/rt.jar, if it existed.
exists
protected boolean exists(String libRt)
- Parameters:
libRt -
- Returns:
- true iff libRt exists in the filesystem.