I think that jd-gui is one of the best Java decompilers; and am I happily using on Linux for quite some time. Today I tried to invoke it on Ubuntu 12.04; and I get this error message:
jd-gui
PROT_EXEC|PROT_WRITE failed.
Any idea anybody?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Check if you have PaX enabled in your kernel.
If so, you use paxctl to control memory protection flags on a per binary basis. On Ubuntu 12.04 there are no issues with launching jdgui by default, if you have not explicitly hardened your system.
If paxctl does not help you to resolve the issue, check if you have antivirus or other hardening on your system that does not really respect PaX flags. I know for a fact that Sym***AntiVirus for Linux is blocking jdgui. Once you get rid of the kernel modules then everything is back to normal. Run
lsmod | grep symto confirm if the modules are loaded.Hope this helps.