Added modify_javapath to maxwell_down/upload.