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
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