Question

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?

Was it helpful?

Solution

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 sym to confirm if the modules are loaded.

Hope this helps.

OTHER TIPS

sudo apt-get install ia32-libs-gtk

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top