Elide GraalVM25.6.0-elide.4
All types
Versions and modules

HomeFinder

Javaabstract classin org.graalvm.homesince 19.3

public abstract class HomeFinder
Inheritance
  1. Object
  2. HomeFinder

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.

HomeFinder

since 19.3
public HomeFinder()

No description.

Methods5

Path getHomeFolder()No description.

getHomeFolder

abstractsince 19.3
public abstract Path getHomeFolder()

No description.

Returns

Path
the GraalVM home folder if inside GraalVM or null otherwise.
String getVersion()No description.

getVersion

abstractsince 19.3
public abstract String getVersion()

No description.

Returns

String
the GraalVM version or "snapshot" if unknown.
Map<String, Path> getLanguageHomes()No description.

getLanguageHomes

abstractsince 19.3
public abstract Map<String, Path> getLanguageHomes()

No description.

Returns

Map<String, Path>
a Map of language ids to their home path.
Map<String, Path> getToolHomes()No description.

getToolHomes

abstractsince 19.3
public abstract Map<String, Path> getToolHomes()

No description.

Returns

Map<String, Path>
a Map of tool ids to their home path.
static HomeFinder getInstance()No description.

getInstance

staticsince 19.3
public static HomeFinder getInstance()

No description.

Returns

HomeFinder
the HomeFinder instance by using a ServiceLoader.

Throws

IllegalStateExceptionunchecked
if no implementation could be found.

Inherited members