skylot / jadx

Dex to Java decompiler
Apache License 2.0
41.81k stars 4.88k forks source link

Installation problem. #1786

Closed JohnTill123 closed 1 year ago

JohnTill123 commented 1 year ago

After install on Linux, running build/bin/jadx returns:

$:/home/username/git/jadx/build/jadx/bin/jadx Error: Could not find or load main class jadx.cli.JadxCLI Caused by: java.lang.ClassNotFoundException: jadx.cli.JadxCLI

CLASSPATH is set to the directory :/home/username/git/jadx/build/jadx/lib/

jpstotz commented 1 year ago

Please execute ./gradlew pack and then use the created distribution zip build/jadx-dev.zip.

skylot commented 1 year ago

@JohnTill123 it is hard to help here, because if build finished without errors this issue shouldn't happen. Make sure you don't make any changes to jadx repo. And try to run clean task before build: ./gradlew clean dist