Jarsigner giving blank or no response on Mac

0

The jarsigner binary was found on /usr/bin and I added the path using export command. After running the jarsigner command, the command was looking for the existence of the binary in $JAVA_HOME and was throwing an error "jarsigner could not be located at /Library/Internet_Plugin..../Home". So I copied the binary to $JAVA_HOME and gave it executable permission, now hitting the command just goes blank. I am trying to patch an app using objection and since jarsigner is hanging , the whole patching process is hung up.

MacBook-Pro:bin ptcpnt$ ls | grep jarsigner
jarsigner

MacBook-Pro:bin ptcpnt$ ls | grep jarsigner
jarsigner

MacBook-Pro:bin ptcpnt$ jarsigner
Unable to locate an executable at "/Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/bin/jarsigner" (-1)

MacBook-Pro:/ ptcpnt$ jarsigner     
                               --goes blank

Any suggestions on what can be done? Thanks in Advance!

[Machine details - Mojave 10.14.4, java version "1.8.0_201" Java(TM) SE Runtime Environment (build 1.8.0_201-b09) Java HotSpot(TM) 64-Bit Server VM (build 25.201-b09, mixed mode), Android studio is installed, $ANDROID_HOME is empty]

Below are the screenshots for reference. Objection stuck

ptcpnt

Posted 2019-04-13T07:31:31.900

Reputation: 1

No answers