public class ProcessUtil extends Object
| Constructor and Description |
|---|
ProcessUtil() |
| Modifier and Type | Method and Description |
|---|---|
static String |
getClassPath()
Get the classpath as a single string of all the classpath file entries, separated by the path separator.
|
static List<String> |
getClassPathList()
Get the current classpath as a list of file names.
|
static Path |
getJavaExecutable()
Get the path to the
java executable that is running this Java program. |
static List<String> |
getJavaExecutableArguments()
Get the list of command line arguments that were passed to the Java runtime, as opposed to the Java program.
|
public static Path getJavaExecutable()
java executable that is running this Java program.
This is useful for starting other Java programs using the same exact version of Java.
This value is computed from the java.home system property.
java executable that launched this Java process.public static List<String> getJavaExecutableArguments()
RuntimeMXBean.getInputArguments()public static List<String> getClassPathList()
public static String getClassPath()
java.class.path system property.File.pathSeparatorCopyright © 2002–2017 The Neo4j Graph Database Project. All rights reserved.