added ability to specify the path to the "java" binary