BZ 67538: Make use of Ant's <javaversion /> task to enfore the mininum Java build version
diff --git a/build.xml b/build.xml
index f8d6b76..ce1f16c 100644
--- a/build.xml
+++ b/build.xml
@@ -64,6 +64,13 @@
     <property name="compile.release" value="11"/>
     <property name="build.java.version" value="11"/>
 
+    <!-- Check Java Build Version -->
+    <fail message="Java version ${build.java.version} or newer is required (${java.version} is installed)">
+        <condition>
+            <not><javaversion atleast="${build.java.version}" /></not>
+        </condition>
+    </fail>
+
     <!-- The base directory for component sources -->
     <property name="source.home"           value="java"/>
 
diff --git a/xdocs/miscellaneous/changelog.xml b/xdocs/miscellaneous/changelog.xml
index e37f739..c5ea8ce 100644
--- a/xdocs/miscellaneous/changelog.xml
+++ b/xdocs/miscellaneous/changelog.xml
@@ -33,6 +33,10 @@
 </section>
 <section name="Changes in 2.0.7">
   <changelog>
+    <add>
+      <bug>67538</bug>: Make use of Ant's <code><javaversion /></code> task
+      to enfore the mininum Java build version. (michaelo)
+    </add>
     <fix>
       <bug>67615</bug>: Windows binary for version 2 has incorrect version suffix
       compared to the GNU autoconf version. (michaelo)