GP-2454: Adding some new default JDK Windows installation locations to

LaunchSupport
This commit is contained in:
Ryan Kurtz 2022-08-12 12:10:44 -04:00
parent aad60ecdd3
commit c138f53e83

View File

@ -27,8 +27,11 @@ public class WindowsJavaFinder extends JavaFinder {
@Override
protected List<File> getJavaRootInstallDirs() {
List<File> javaRootInstallDirs = new ArrayList<>();
javaRootInstallDirs.add(new File("C:\\Java"));
javaRootInstallDirs.add(new File("C:\\Program Files\\Java"));
javaRootInstallDirs.add(new File("C:\\Program Files\\Amazon Corretto"));
javaRootInstallDirs.add(new File("C:\\Program Files\\Eclipse Adoptium"));
javaRootInstallDirs.add(new File("C:\\Program Files\\Microsoft"));
return javaRootInstallDirs;
}