improve indenting/quoting in java.rb

use full paths to external utils. use list form of `system`.
use dashdash convention.