Class JavaUtils
java.lang.Object
de.iip_ecosphere.platform.support.JavaUtils
Java utils with based on more recent JDK libraries.
- Author:
- Holger Eichelberger, SSE
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StringReturns the path to the running Java binary.static StringgetJavaBinaryPath(String dflt) Returns the path to the running Java binary.static StringReturns the path to the running JVM bin folder.
-
Field Details
-
binaryPathSupplier
-
-
Constructor Details
-
JavaUtils
public JavaUtils()
-
-
Method Details
-
getJavaBinaryPath
Returns the path to the running Java binary.- Parameters:
dflt- the default value to return if the original value is unknown- Returns:
- the path, may be dflt
-
getJavaBinaryPath
Returns the path to the running Java binary.- Returns:
- the path, may be null for unknown
-
getJavaPath
Returns the path to the running JVM bin folder.- Returns:
- the path, may be null for unknown
-