run
public void run(List<String> jvmArgs,
List<String> args,
Map<String,String> environment,
@Nullable
Path workingDirectory)
throws ProcessHandlerException,
AppEngineJavaComponentsNotInstalledException,
InvalidJavaSdkException,
IOException
Uses the process runner to execute the classic Java SDK devappsever command.
- Parameters:
jvmArgs
- the arguments to pass to the Java Virtual machine that launches the devappserver
args
- the arguments to pass to devappserver
environment
- the environment to set on the devappserver process
workingDirectory
- if null then the working directory of current Java process.
- Throws:
ProcessHandlerException
- when process runner encounters an error
AppEngineJavaComponentsNotInstalledException
- Cloud SDK is installed but App Engine Java
components are not
InvalidJavaSdkException
- when the specified JDK does not exist
IOException