private static String getJadPath() throws IOException {
		File jadExecutableFile =
			Application.getOSFile((Platform.CURRENT_PLATFORM == Platform.WIN_X86_32 ||
				Platform.CURRENT_PLATFORM == Platform.WIN_X86_64) ? "jad.exe" : "jad");

		String jadPath = jadExecutableFile.getAbsolutePath();
		return jadPath;
	}
Wrapper class for JAD, a JAva Decompiler.
Ghidra/Features/FileFormats/src/main/java/ghidra/file/jad/JadProcessWrapper.java