AbinashBishoyi / WhatsApp-Key-DB-Extractor-UnOfficial

WhatsApp Key/DB Extractor [UnOfficial]
100 stars 50 forks source link

fixing java errors - ADBPatchv2.bat #7

Open MeOnGitHub123 opened 9 years ago

MeOnGitHub123 commented 9 years ago

hi there,

you might fix some java-error messages when using the java-variable correct:

In your Main script you set JAVA as variable in capital letters. in ADBPatchv2.bat you the variable is in non-capital letters Furthermore because of batch programming in order to use JAVA as Variable you need to write in in %-signs. As the java-path may contain empty chars you will need to use Quotation Marks:

current: java -jar bin\apktool.jar d WhatsApp.apk

correct: "%JAVA%" -jar bin\apktool.jar d WhatsApp.apk

if you still get errors just replace the variable "java" manually with the full java path: "C:\Program Files\Java\jre1.8.0_51\bin\java.exe" -jar bin\apktool.jar d WhatsApp.apk