Java programs are best run with a java command.

This commit is contained in:
Gian Merlino 2014-08-28 18:10:01 -07:00
parent 5564a67bfc
commit 8bcb73a0eb
1 changed files with 1 additions and 0 deletions

View File

@ -171,6 +171,7 @@ public class ForkingTaskRunner implements TaskRunner, TaskLogStreamer
taskClasspath = config.getClasspath();
}
command.add(config.getJavaCommand());
command.add("-cp");
command.add(taskClasspath);