The tool is the modern dexer used to convert Java bytecode ( .class files) into DEX bytecode ( .dex files) for Android devices. It replaced the older dx tool and is now part of the R8 project . How to Obtain d8.jar
jarsigner -verify -verbose -certs d8.jar d8.jar download
The Android SDK also includes a wrapper script d8 (no .jar extension) that automatically invokes the JAR with correct classpath. On Linux/Mac: Bytecode optimizations:
java -version
.zip file.<extracted_folder>/lib/d8.jar.