public class Environment extends Object
| Constructor and Description |
|---|
Environment() |
| Modifier and Type | Method and Description |
|---|---|
static String |
getJavaCommand(Path javaHome)
Returns the Java command to use.
|
static String[] |
getModularJvmArguments()
Returns the default JVM arguments for a modular environment.
|
static boolean |
isModularJvm(Path javaHome)
Checks to see if the
javaHome is a modular JVM. |
public static boolean isModularJvm(Path javaHome)
javaHome is a modular JVM.javaHome - the Java Home if null an attempt to discover the Java Home will be donetrue if this is a modular environmentpublic static String[] getModularJvmArguments()
Copyright © 2021 JBoss by Red Hat. All rights reserved.