diff --git a/ui/org.eclipse.pde.ui.tests/pom.xml b/ui/org.eclipse.pde.ui.tests/pom.xml
index bbc8251291..651c34b459 100644
--- a/ui/org.eclipse.pde.ui.tests/pom.xml
+++ b/ui/org.eclipse.pde.ui.tests/pom.xml
@@ -26,6 +26,7 @@
true
${project.artifactId}
org.eclipse.pde.ui.tests.AllPDETests
+ -DDetectVMInstallationsJob.disabled=true
diff --git a/ui/org.eclipse.pde.ui.tests/tests/projects/classpathupdater/META-INF/MANIFEST.MF b/ui/org.eclipse.pde.ui.tests/tests/projects/classpathupdater/META-INF/MANIFEST.MF
index 4c43d2fba8..5fa6177207 100644
--- a/ui/org.eclipse.pde.ui.tests/tests/projects/classpathupdater/META-INF/MANIFEST.MF
+++ b/ui/org.eclipse.pde.ui.tests/tests/projects/classpathupdater/META-INF/MANIFEST.MF
@@ -7,3 +7,5 @@ Bundle-ClassPath: library.jar,
A.jar,
.
Require-Bundle: org.eclipse.pde.core
+Bundle-RequiredExecutionEnvironment:
+ JavaSE-17