private File getEclipseInstallDir() throws FileNotFoundException {
		File eclipseInstallDir =
			options.getFile(EclipseIntegrationOptionsPlugin.ECLIPSE_INSTALL_DIR_OPTION, null);
		if (eclipseInstallDir == null) {
			throw new FileNotFoundException("Eclipse installation directory not defined.");
		}
		if (Platform.CURRENT_PLATFORM.getOperatingSystem() == OperatingSystem.MAC_OS_X) {
			if (eclipseInstallDir.getName().startsWith("Eclipse") &&
				eclipseInstallDir.getName().endsWith(".app")) {
				eclipseInstallDir = new File(eclipseInstallDir, "Contents/Eclipse");
			}
			else if (eclipseInstallDir.getName().equals("Contents")) {
				eclipseInstallDir = new File(eclipseInstallDir, "Eclipse");
			}
			else if (eclipseInstallDir.getName().equals("MacOS") &&
				eclipseInstallDir.getParentFile().getName().equals("Contents")) {
				eclipseInstallDir = new File(eclipseInstallDir.getParentFile(), "Eclipse");
			}
			else if (eclipseInstallDir.getName().equals("Resources") &&
				eclipseInstallDir.getParentFile().getName().equals("Contents")) {
				eclipseInstallDir = new File(eclipseInstallDir.getParentFile(), "Eclipse");
			}
		}
		if (!eclipseInstallDir.isDirectory()) {
			throw new FileNotFoundException("Eclipse installation directory does not exist.");
		}
		return eclipseInstallDir;
	}
Gets the Eclipse installation directory.  This is the directory with the eclipse.ini
file in it.

@return The Eclipse installation directory.
@throws FileNotFoundException if the installation directory does not exist.
Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/eclipse/EclipseIntegrationPlugin.java