diff --git a/docs/manual/CoreTasks/java.html b/docs/manual/CoreTasks/java.html index 4b5684596..61d34e9a9 100644 --- a/docs/manual/CoreTasks/java.html +++ b/docs/manual/CoreTasks/java.html @@ -11,10 +11,9 @@
Executes a Java class within the running (Ant) VM or forks another VM if specified.
-Be careful that the executed class doesn't call System.exit(), because it -will terminate the VM and thus Ant. In case this happens, it's highly suggested -that you set the fork attribute so that System.exit() stops the other VM and not -the one that is currently running Ant.
++If odd things go wrong when you run this task, set fork="true" to use a new +JVM.
jar | -the location of the jar file to execute (must have a Main-Class entry in the manifest). Fork must be set to true if this option is selected. | +the location of the jar file to execute (must have a + Main-Class entry in the manifest). Fork must be set to true if this option is selected. | Either jar or classname |