Changed the name of the jar to use "-" instead of ".".
Enhanced the Java slave to be given with stdin, stdout and stderr.