fix java compiler and runner
box does not stop on time because we let box run the script, not the java itself

--HG--
branch : algo