Installing Ghidra as a self-contained OSX .app (without contaminating your system with having to install Java):
- Download and extract the launcher AppleScript template app below. Optionally modify
Ghidra.app/Info.plist
to your liking. - Download the latest OpenJDK and extract it to
Ghidra.app/jdk
. Make sureGhidra.app/jdk/Contents/Home/bin/java
exists. - Download the latest Ghidra and extract it to
Ghidra.app/ghidra
. Make sureGhidra.app/ghidra/ghidraRun
exists. - Copy
Ghidra.app
to your Applications directory.
Note that the template .app is just a standard AppleScript generated .app. If you don't trust the binary, you can build your own with the provided AppleScript.
Just want to add that this works great on macOS Sonoma wit the latest Ghidra 11.x
At some point I would like to make a script that does all the packaging from a Ghidra release zip.