You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This workaround might also be the correct fix for this problem unless you need to worry about symbolic links, in which case, you'll need to use one of the more complex solutions from StackOverflow:
The realpath is not an option here, as we want a minimum of the deps. Both Linux and Mac users would need to install additional software to make the script working.
Reproduced on macOS Mojave 10.14.6
Steps to reproduce:
jd-cli
and unzip it.~/Downloads/jd-cli-1.2.0-dist
to your unixPATH
.cd ..
).jd-cli ~/Test/Main.class
If the bug still exists
jd-cli
will fail to decompile theclass
and show the following error:If the bug is fixed,
jd-cli
will decompile the class without any error message.Workarounds/Fixes
In the
jd-cli
shell script, replace the first line which usesreadlink
with Dave Dopson's solution from StackOverflow:Or if you aren't using
bash
:This workaround might also be the correct fix for this problem unless you need to worry about symbolic links, in which case, you'll need to use one of the more complex solutions from StackOverflow:
The text was updated successfully, but these errors were encountered: