Ghidra is an open source decompiler and reverse engineering framework. Version 12.2 needs JDK 25, not 21. An alternative to IDA Pro, licensed Apache-2.0.
Ghidra is an open source reverse engineering framework that you install on your own machine. The U.S. National Security Agency's Research Directorate publishes it under Apache-2.0. According to the project, it covers disassembly, decompilation, graphing and scripting, and it can run as a desktop application or in a batch headless mode. Official documentation lists Windows, macOS and Linux, with scripts and extensions in Java or Python; we tested only Linux.
It is an open-source alternative to IDA Pro for people who want a local decompiler with public source code. That is a category description, not a feature-by-feature match: we have not compared the two, and Ghidra may cover only part of an IDA Pro workflow.
Ghidra 12.2 requires a 64-bit JDK 25 — a full JDK, not a JRE. JDK 21 is not sufficient. Before you install a build, read the project's Security Advisories and use a current official release. The project warns that some versions have known vulnerabilities. We verified the official 12.2 zip on Debian 13 through headless analysis of /bin/ls, which reported 536 functions. The interactive GUI did not reach a ready window in that emulated test, so the GUI remains unverified here.
Is Ghidra open source?
Yes. The 12.2 release is licensed Apache-2.0, an OSI license.
What Java version does Ghidra 12.2 need?
A 64-bit JDK 25 (a full JDK, not a JRE). JDK 21 is not enough. Official docs also mention Adoptium Temurin 25 and Amazon Corretto 25 as options; we tested Debian's openjdk-25-jdk.
Is Ghidra an alternative to IDA Pro?
It is an open-source alternative to IDA Pro for reverse engineering, not a complete match for every workflow. We have not compared the two feature by feature. Read the limitations above before you move a real project over.
Choose Ghidra if you want an open source decompiler and can install JDK 25. Use a current official release after reading the Security Advisories. Do not take our test as proof that the interactive GUI is ready: we verified headless analysis of /bin/ls only. For a graphical tool on the same shelf, see Cutter; for a command-line toolkit, see radare2. All three are listed among the alternatives to IDA Pro.
We installed the official, unmodified
ghidra_12.2_PUBLIC_20261016.zipin a fresh Debian 13 (x86_64) virtual machine on November 10, 2026 (Europe/Moscow) and ransupport/analyzeHeadlesson/bin/ls. Analysis succeeded and a post-script reported 536 functions (exit code 0). The machine was emulated (QEMU TCG) and needed extra JVM flags that are not required on native hardware; timings from that VM are not representative. The interactive GUI did not reach a ready window in this test.
| Version | 12.2 |
| Tested on | Debian 13 · x86_64 · emulated VM |
| Tested | November 10, 2026 |
| Verified path | official zip + JDK 25, headless analysis of /bin/ls |
sudo apt install openjdk-25-jdk unzip
java -version
# expect a Java 25 line, for example openjdk 25
Note: in the test environment the ordinary apt mirror returned HTTP 500, so the packages were installed through a workaround. We did not run a clean apt install against a healthy Debian mirror ourselves. On a native machine you should not need extra JVM flags.curl -fLO https://github.com/NationalSecurityAgency/ghidra/releases/download/Ghidra_12.2_build/ghidra_12.2_PUBLIC_20261016.zip
echo '2c2cd776db3c1f6a097ba418922378ac3649cadd5e844a6f5f088ae628a7be67 ghidra_12.2_PUBLIC_20261016.zip' | sha256sum -c
unzip -q ghidra_12.2_PUBLIC_20261016.zip
cd ghidra_12.2_PUBLIC
./ghidraRun (on Windows, ghidraRun.bat, not tested)../support/analyzeHeadless ~/ghidra-projects ls-test -import /bin/ls
Before you open untrusted files, read the Ghidra Security Advisories and prefer a current official release.
Package listings on the test date (API check only, not installed in the VM): Homebrew formula ghidra 12.2 (depends on openjdk@25); Scoop extras ghidra 12.2-20261016 (same official zip and hash); Chocolatey ghidra 12.2.0; Flathub org.ghidra_sre.Ghidra 12.1.3; Arch extra ghidra 12.1.2. No package in winget or Debian/Ubuntu apt.
Commands from the official package registries. Each package is matched to Ghidra through the registry's own link to its source code or website.
brew install ghidrabrew install ghidraLint, codegen, breaking-change checks and dependency management in one Git-native CLI. Open source, no registry lock-in.
Show that Ghidra is listed as an open-source alternative. Paste into your README: