我试图在Ubuntu14.10上安装贾德。
我已经在Intel平台下载了用于Linux的Jad1.5.8e。我已经解压缩了jad158e.linux.intel.zip文件,并且正在读取Readme.txt文件,上面写着:
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.然后用它说:
2. How to use Jad
To decompile a single JAVA class file 'example1.class'
type the following:
jad example1.class我尝试执行zip中的jad文件,方法是使用cd命令在终端中定位它,然后使用以下命令执行它:
./jad但这只会让我得到这样的结果:
./jad: error while loading shared libraries: libstdc++-libc6.2-2.so.3: cannot open shared object file: No such file or directory我还试图定位我想要解压缩的文件,就像在说明中说的那样,方法是用cd定位它,然后执行以下操作:
jad MyJavaApplication.class但是返回的只是这个错误:
No command 'jad' found, but there are 17 similar ones
jad: command not found我仔细地看了几个论坛,比如这一个和这个askubuntu问题如何安装Jad?。但我还是没能让JAD工作。我甚至试着安装Gdebi,就像我在上面提到的论坛中建议的那样。但无论我做什么,我似乎都不能让它发挥作用。所以,我真正的问题是,如何安装和使用JAD?
我听说将它添加到PATH变量中,我需要将它移动到这个目录/usr/local/bin,但是当将它移到那个目录时,它告诉我,即使我是管理员,我也需要更多的特权。我不知道如何将它添加到路径变量中。
发布于 2019-08-20 11:43:43
对于第一个问题,您可以从这个static jad下载链接,所以它不需要什么。对于第二个问题,您可以简单地执行./jad file.class。
https://askubuntu.com/questions/569194
复制相似问题