Added check_status and option to set java bin path