pxb1988 / dex2jar

Tools to work with android .dex and java .class files
Apache License 2.0
12.26k stars 2.1k forks source link

dex2jar error on Windows `./d2j_invoke.sh: 48: java: not found` #554

Open JasmineScholz opened 2 years ago

JasmineScholz commented 2 years ago

Hi guys, has anyone run into this issue or found a workaround? I've watched some tutorials on installing d2j but none of them seem to have come up with the same issue as me.

I am trying to use d2j on a test APK I have for a course. But, I keep getting this error. ./d2j_invoke.sh: 48: java: not found

How to recreate dex2jar-2.0>bash d2j-std-apk.sh TestApp.apk

--Result-- \dex2jar-2.0>bash d2j-std-apk.sh SecureStorev1.apk ./d2j_invoke.sh: 48: java: not found

I have a pentest coming up soon. Please let me know if you can help. :)

ThexXTURBOXx commented 1 year ago

556

Batman-exe commented 1 year ago

Check that you have JDK and JRE already installed in your computer.