Class JavaExecutable
java.lang.Object
org.springframework.boot.loader.tools.JavaExecutable
Provides access to the java binary executable, regardless of OS.
- Since:
- 1.1.0
- Author:
- Phillip Webb
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprocessBuilder
(String... arguments) Create a newProcessBuilder
that will run with the Java executable.toString()
-
Constructor Details
-
JavaExecutable
public JavaExecutable()
-
-
Method Details
-
processBuilder
Create a newProcessBuilder
that will run with the Java executable.- Parameters:
arguments
- the command arguments- Returns:
- a
ProcessBuilder
-
toString
-