String () { String javaHome = SystemProperties.getJavaHome(); List<String> paths = ContainerUtil.packNullables(javaHome, new File(javaHome).getParent(), System.getenv("JDK_16_x64"), System.getenv("JDK_16")); for (String path : paths) { if (JdkUtil.checkForJdk(path)) { return path; } } //noinspection ConstantConditions Assume.assumeTrue("Cannot find JDK, checked paths: " + paths, false); return null; }