@Override
	protected List<File> getJavaRootInstallDirs() {
		List<File> javaRootInstallDirs = new ArrayList<>();
		javaRootInstallDirs.add(new File("/usr/lib/jvm"));
		return javaRootInstallDirs;
	}
Class responsible for finding Java installations on a Linux system.
GhidraBuild/LaunchSupport/src/main/java/ghidra/launch/LinuxJavaFinder.java