Class SystemJarFinder
- java.lang.Object
-
- nonapi.io.github.classgraph.classpath.SystemJarFinder
-
public class SystemJarFinder extends java.lang.Object
A class to find rt.jar and any JRE "lib/" or "ext/" jars.
-
-
Constructor Summary
Constructors Constructor Description SystemJarFinder()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.util.Set<java.lang.String>
getJreLibOrExtJars()
static java.lang.String
getJreRtJarPath()
-
-
-
Method Detail
-
getJreRtJarPath
public static java.lang.String getJreRtJarPath()
- Returns:
- The path of rt.jar (in JDK 7 or 8), or null if it wasn't found (e.g. in JDK 9+).
-
getJreLibOrExtJars
public static java.util.Set<java.lang.String> getJreLibOrExtJars()
- Returns:
- The paths for any jarfiles found in JRE/JDK "lib/" or "ext/" directories.
-
-