ApkRename icon indicating copy to clipboard operation
ApkRename copied to clipboard

"./apkRename.sh: line 151: jar: command not found"

Open hub2git opened this issue 7 years ago • 3 comments

I have Linux Mint 18.1 Selena installed.

I downloaded ApkRename and ran .

./apkRename.sh currentnameofapp.apk myDesiredNewName.apk

`~~~~ use newPackageName: myDesiredNewName.apk

~~~~ prepare work dir: ./tmpForApkRename

~~~~ extract AndroidManifest.xml (binary file)
./apkRename.sh: line 151: jar: command not found

hub2git avatar Apr 06 '17 00:04 hub2git

Have you installed java jre?

kmccmk9 avatar Oct 15 '17 17:10 kmccmk9

@hub2git you actually need to install jdk. I just had this issue and fixed it.

ishansd94 avatar Feb 10 '22 18:02 ishansd94

JRE alone wouldn't work. JDK (the entire kit) has the jar tool.

On Linux Mint, it should be: sudo apt install openjdk-8-jdk-headless.

shrihankp avatar Jun 12 '22 08:06 shrihankp