public class DefaultJvmUtils extends Object
Constructor and Description |
---|
DefaultJvmUtils() |
Modifier and Type | Method and Description |
---|---|
static String |
findJavaExecutable(String javaHome)
Find the java executable under a given java home dir
|
static String |
getCurrentJvmHome()
Get the home dir of the currently executing jvm
|
public static String getCurrentJvmHome()
public static String findJavaExecutable(String javaHome)
javaHome
- The java home dirIllegalStateException
- if the java executable could not be foundCopyright © 2023 JBoss by Red Hat. All rights reserved.