diff --git a/benchmarks/java/build.xml b/benchmarks/java/build.xml
index aa417efd7610caafd067e707fc592ebb5f74124f..9e88b8321105138f2250867b9ca2587814472aaf 100644
--- a/benchmarks/java/build.xml
+++ b/benchmarks/java/build.xml
@@ -100,4 +100,6 @@
     <target name="clean">
         <delete dir="./build" />
     </target>
+
+    <target name="distclean" depends="clean" />
 </project>
diff --git a/build.xml b/build.xml
index 1a293af83a6a0e9a433cd30392bda1f66524ed70..64b73c57f84bfae97f0dd4af6983b32373892d41 100644
--- a/build.xml
+++ b/build.xml
@@ -994,6 +994,7 @@
         <delete dir="core/c/jcpuid/lib" />
         <ant dir="installer/resources/locale" target="distclean" />
         <ant dir="installer/tools/java" target="distclean" />
+        <ant dir="benchmarks/java" target="distclean" />
 	<!--
 		NOTE! We need to turn off the default excludes for these
 		patterns to work.