HomeFinder
public abstract class HomeFinder- Inheritance
ObjectHomeFinder
A utility class to find various paths of the running GraalVM, as well as the version. Use HomeFinder.getInstance() to get the singleton instance.
Constructors1
HomeFinder()No description.
Methods5
Path getHomeFolder()No description.
getHomeFolder
abstractsince 19.3public abstract Path getHomeFolder()No description.
Returns
Path- the GraalVM home folder if inside GraalVM or
nullotherwise.
String getVersion()No description.
getVersion
abstractsince 19.3public abstract String getVersion()No description.
Returns
String- the GraalVM version or
"snapshot"if unknown.
Map<String, Path> getLanguageHomes()No description.
Map<String, Path> getToolHomes()No description.
static HomeFinder getInstance()No description.
getInstance
staticsince 19.3public static HomeFinder getInstance()No description.
Returns
HomeFinder- the HomeFinder instance by using a ServiceLoader.
Throws
IllegalStateExceptionunchecked- if no implementation could be found.