@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;
	}
Class responsible for finding Java installations on a Windows system.
GhidraBuild/LaunchSupport/src/main/java/ghidra/launch/WindowsJavaFinder.java