setting cmd_java to ignore errors