Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fixing java errors - ADBPatchv2.bat #7

Open
MeOnGitHub123 opened this issue Aug 26, 2015 · 0 comments
Open

fixing java errors - ADBPatchv2.bat #7

MeOnGitHub123 opened this issue Aug 26, 2015 · 0 comments

Comments

@MeOnGitHub123
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant