The JAD Java Decompiler is a handy tool for Java developers, both for academic use and for recovering your own code on those (hopefully) rare occasions when you lose the source but have the .class files.

I used to use JAD via the Jadclipse plugin for Eclipse in Windows. I switched to Ubuntu a few months ago (and have never looked back). I tried to use Jadclipse, but ran into library problems in Ubuntu. Here is the message I got when running jad from the command line.

jad: error while loading shared libraries: cannot open shared object file: No such file or directory

I finally found the solution on the Ubuntu forums, and in case it should ever get lost or removed, I wanted to make note of it here.

sudo apt-get install libstdc++2.10-glibc2.2

That command will install the missing libraries and jad (both from the command line and Jadclipse) will work like a charm.