I am attempting to install JAD on Ubuntu 14.10.
I have downloaded the Jad 1.5.8e for Linux on Intel platform download. And I have unzipped the jad158e.linux.intel.zip file and am reading the Readme.txt file which says for installation:
1. Installation.
Unzip jad.zip file into any appropriate directory on your hard drive.
This will create two files:
- an executable file named 'jad.exe' (Windows *)
or 'jad' (*n*x)
- this README file
No other setup is required.
And then to use it it says to:
2. How to use Jad
To decompile a single JAVA class file 'example1.class'
type the following:
jad example1.class
And I have tried executing the jad file that comes in the zip by locating it in Terminal using the cd command and then executing it with this command:
./jad
But that only gets me this result:
./jad: error while loading shared libraries: libstdc++-libc6.2-2.so.3: cannot open shared object file: No such file or directory
I have also tried just locating the file that I want to decompile like it says in the instructions by locating it with cd
and then doing:
jad MyJavaApplication.class
But all that returns is this error:
No command 'jad' found, but there are 17 similar ones
jad: command not found
I had a good look at several forums such as this one and this askubuntu question How to install Jad?. But I still haven't been able to get JAD working. I even tried installing Gdebi as suggested in one of the forums that I mentioned above. But no matter what I do I cannot seem to get it to work. So really what my question is is, how do I install and use JAD?
I heard something about adding it to the PATH variable and that I need to move it to this directory /usr/local/bin, but when moving it to that directory it tells me that I need more privileges even though I am that admin. And I am unsure of how to add it to the PATH variable.