public class JavaPathUtils
extends java.lang.Object
| Constructor and Description |
|---|
JavaPathUtils() |
| Modifier and Type | Method and Description |
|---|---|
static java.nio.file.Path |
getExecutable(java.lang.String executableName)
Gets an executable from the currently running java installation.
|
static java.nio.file.Path |
getJarSignerExecutable()
Gets the 'jarsigner' executable from the currently running java installation.
|
static java.nio.file.Path |
getJavaExecutable()
Gets the 'java' executable from the currently running java installation.
|
static java.nio.file.Path |
getJavaHome()
Gets the home directory for the currently running Java installation.
|
public static java.nio.file.Path getJavaHome()
public static java.nio.file.Path getExecutable(java.lang.String executableName)
executableName - The executable name.public static java.nio.file.Path getJavaExecutable()
public static java.nio.file.Path getJarSignerExecutable()