diff --git a/releng.wtpbuilder/distribution/wtp.tests/build.xml b/releng.wtpbuilder/distribution/wtp.tests/build.xml
index 26f74d4b92736d571486c55f811b848c48531579..e2af86c0dbf0646da52e5e029e2990309d2716d8 100644
--- a/releng.wtpbuilder/distribution/wtp.tests/build.xml
+++ b/releng.wtpbuilder/distribution/wtp.tests/build.xml
@@ -167,7 +167,7 @@
         description="Run our JUnit's within an instance of antRunner">
         <property
             name="test-vm"
-            value="${env.JAVA_5_HOME}/bin/java"/>
+            value="${env.JAVA_6_HOME}/bin/java"/>
         <property
             name="plugin-path"
             value="${testRoot}${dropinsFolder}/eclipse/plugins"/>
@@ -212,7 +212,7 @@
             failonerror="false"
             timeout="${testTimeLimit}"
             dir="${testRoot}/eclipse"
-            jvm="${env.JAVA_5_HOME}/bin/java"
+            jvm="${env.JAVA_6_HOME}/bin/java"
             classname="org.eclipse.equinox.launcher.Main">
             <classpath>
                 <fileset