public abstract class JavaHomeFinder
extends java.lang.Object
Constructor and Description |
---|
JavaHomeFinder() |
Modifier and Type | Method and Description |
---|---|
static java.util.List<java.lang.String> |
suggestHomePaths()
Tries to find existing Java SDKs on this computer.
|
static java.util.List<java.lang.String> |
suggestHomePaths(boolean forceEmbeddedJava)
Do the same as
suggestHomePaths() but always considers the embedded JRE,
for using in tests that are performed when the registry is not properly initialized
or that need the embedded JetBrains Runtime. |
public static java.util.List<java.lang.String> suggestHomePaths()
public static java.util.List<java.lang.String> suggestHomePaths(boolean forceEmbeddedJava)
suggestHomePaths()
but always considers the embedded JRE,
for using in tests that are performed when the registry is not properly initialized
or that need the embedded JetBrains Runtime.