public interface JavaRunner
| Modifier and Type | Method and Description |
|---|---|
void |
exec(String[] vmOptions,
String[] classpath,
String mainClass,
String[] programOptions,
String javaHome,
File workingDir)
Starts the selected Java program, up to service implementation whether it waits for it to exit.
|
void |
exec(String[] vmOptions,
String[] classpath,
String mainClass,
String[] programOptions,
String javaHome,
File workingDir,
String[] environmentVariables)
Starts the selected Java program, up to service implementation whether it waits for it to exit.
|
void exec(String[] vmOptions, String[] classpath, String mainClass, String[] programOptions, String javaHome, File workingDir, String[] environmentVariables) throws ExecutionException
vmOptions - selected JVM optionsclasspath - application class pathmainClass - main program entry pointprogramOptions - program specific optionsjavaHome - java home directoryworkingDir - working directoryenvironmentVariables - optional environment variablesExecutionException - if something goes wrongvoid exec(String[] vmOptions, String[] classpath, String mainClass, String[] programOptions, String javaHome, File workingDir) throws ExecutionException
vmOptions - selected JVM optionsclasspath - application class pathmainClass - main program entry pointprogramOptions - program specific optionsjavaHome - java home directoryworkingDir - working directoryExecutionException - if something goes wrongCopyright © 2006–2019 OPS4J - Open Participation Software for Java. All rights reserved.