diff --git a/runtime/Java/src/org/antlr/v4/runtime/RuntimeMetaData.java b/runtime/Java/src/org/antlr/v4/runtime/RuntimeMetaData.java index e78efb6f59..8fc01fec00 100644 --- a/runtime/Java/src/org/antlr/v4/runtime/RuntimeMetaData.java +++ b/runtime/Java/src/org/antlr/v4/runtime/RuntimeMetaData.java @@ -157,11 +157,11 @@ public static void checkVersion(String generatingToolVersion, String compileTime !getMajorMinorVersion(runtimeVersion).equals(getMajorMinorVersion(compileTimeVersion)); if ( runtimeConflictsWithGeneratingTool ) { - System.err.printf("ANTLR Tool version %s used for code generation does not match the current runtime version %s%n", + System.out.printf("ANTLR Tool version %s used for code generation does not match the current runtime version %s%n", generatingToolVersion, runtimeVersion); } if ( runtimeConflictsWithCompileTimeTool ) { - System.err.printf("ANTLR Runtime version %s used for parser compilation does not match the current runtime version %s%n", + System.out.printf("ANTLR Runtime version %s used for parser compilation does not match the current runtime version %s%n", compileTimeVersion, runtimeVersion); } }