macOS
brew install dex2jarlocal Homebrew formula metadata
sudo port install dex2jarMacPorts ports tree · java/dex2jar/Portfile · source: api.github.com
brew
Tools to work with Android .dex and Java .class files. Version 2.4 via Homebrew; verified from local package data.
install
brew install dex2jarlocal Homebrew formula metadata
sudo port install dex2jarMacPorts ports tree · java/dex2jar/Portfile · source: api.github.com
nix profile install nixpkgs#dex2jarnixpkgs package indexes · pkgs/by-name/de/dex2jar/package.nix · source: api.github.com
choco install dex2jarChocolatey community package catalog · dex2jar · source: community.chocolatey.org
overview
Tools to work with Android .dex and Java .class files
history
dex2jar is a command-line toolkit for working with Android Dalvik Executable files and Java class or jar files. Package users usually encounter it through d2j-dex2jar and the companion d2j-* utilities.
The official README describes dex2jar as tools for Android .dex and Java .class files and notes the project move to GitHub. It preserves links to older SourceForge, Bitbucket, and Google Code project homes, which reflects the common migration path of early Android reverse-engineering tools into GitHub-era maintenance.
The current repository organizes the project as multiple tools: dex-reader/writer, d2j-dex2jar, smali/baksmali-compatible assembly and disassembly, and additional utilities such as string decryption helpers.
dex2jar became a familiar package in Android reverse-engineering and security-analysis workflows because it bridged Android .dex bytecode and Java tooling. Even when users later inspect output with decompilers or bytecode tools, the package often provides the first conversion step from an APK or dex file to a jar-shaped artifact.
The README's example workflow builds the distribution, unpacks dex-tools, and runs d2j-dex2jar.sh against an APK path. The output is a jar file named after the input, such as apk_to_decompile-dex2jar.jar.
dex2jar is notable as a package because it installs a family of narrowly named command-line tools rather than a single binary. That makes it a classic reverse-engineering formula: many small entry points, stable scripts, and a README that doubles as the packaging-facing interface.
security posture
broad file, network, media, or database tool signal.
blue risk · medium confidence · tool
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
d2j-apk-sign | cli | global executable | |
d2j-asm-verify | cli | global executable | |
d2j-baksmali | cli | global executable | |
d2j-class-version-switch | cli | global executable | |
d2j-decrypt-string | cli | global executable | |
d2j-dex-recompute-checksum | cli | global executable | |
d2j-dex-weaver | cli | global executable | |
d2j-dex2jar | cli | global executable | |
d2j-dex2smali | cli | global executable | |
d2j-jar-access | cli | global executable | |
d2j-jar-weaver | cli | global executable | |
d2j-jar2dex | cli | global executable | |
d2j-jar2jasmin | cli | global executable | |
d2j-jasmin2jar | cli | global executable | |
d2j-smali | cli | global executable | |
d2j-std-apk | cli | global executable | |
d2j_invoke | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
https://github.com/pxb1988/dex2jar
install metadata
| Package key | brew:dex2jar |
|---|---|
| Version | 2.4 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/dex2jar |
| Homepage | https://github.com/pxb1988/dex2jar |
| Repository | https://github.com/pxb1988/dex2jar |
| Upstream docs | https://github.com/pxb1988/dex2jar#readme |
| License | Apache-2.0 |
| Source archive | https://github.com/pxb1988/dex2jar/releases/download/v2.4/dex-tools-v2.4.zip |
| Dependencies | openjdk |
| Bottle | available (on all) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | dex2jar |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
dex2jar
nix profile install nixpkgs#dex2jardex2jar
sudo port install dex2jardex2jar
choco install dex2jarsource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.