Heim >Datenbank >MySQL-Tutorial >jad error while loading shared libraries libstdc++-libc6.2-2

jad error while loading shared libraries libstdc++-libc6.2-2

WBOY
WBOYOriginal
2016-06-07 15:48:531349Durchsuche

JAD Java Decompiler is a tool that use for decompiling a .class file into a java source file. I had tried this tool one year ago on Windows environment (Decompile a Java Class File) and I feel is very useful whenever I have the class files

JAD Java Decompiler is a tool that use for decompiling a .class file into a java source file. I had tried this tool one year ago on Windows environment (Decompile a Java Class File) and I feel is very useful whenever I have the class files but I need to analyze the codes from the java source files.

 

Recently, I did a personal research on how to make it work on Ubuntu and I just figured out that there is such plugin available in IntelliJ IDEA as well. The JAD plugin doesn’t work for me from the Available Plugins in Intellij which I can download via File > Settings. I’m not sure what’s the reason and probably I missed out some settings. Whenever I open a .class file, it will ask for the path of the jad executable file. I assumed it should be worked after I installed the plugin but it requires me to point to the executable file from the jad plugin that I downloaded from another page (http://sourceforge.net/projects/ideajad/).

 

If the jad executable file cannot be found, there will be a dialog box asking for the path. Another method to set the path is via File > Settings > IntelliJad Project.

 

When I had set the path for the jad executable file and tried to open a .class file, I got the following error:-

<br><span>Executing Jad: '/opt/idea/8.1/lib/ideajad/bin/linux/jad -s java -radix10 -lradix10 -l64 -pv3 -pc _cls -pf _fld -pl _lcl -pm _mth -pp _prm -pe _ex  -p /tmp/ij1258071358360/BarChart.class'</span>

<span>...<br>Result is empty.  Re-executing Jad: '/opt/idea/8.1/lib/ideajad/bin/linux/jad -s java -radix10 -lradix10 -l64 -pv3 -pc _cls -pf _fld -pl _lcl -pm _mth -pp _prm -pe _ex  -p /tmp/ij1258071358360/BarChart.class'<br>...<br>...<br>...<br>...<br>/opt/idea/8.1/lib/ideajad/bin/linux/jad: error while loading shared libraries: libstdc++-libc6.2-2.so.3: cannot open shared object file: No such file or directory</span><br>

Note: I tried with the command: sudo apt-get install libstdc++2.10-glibc2.2 but it doesn’t work for me.

 

Solution

1. Download the package fromhttp://packages.ubuntu.com/dapper/i386/libstdc++2.10-glibc2.2/download
2. sudo dpkg -i libstdc++2.10-glibc2.2_2.95.4-24_i386.deb(执行到这一步就解决了)

3. If you don’t have the following items in the package, please install:-

  • sudo apt-get install libexpat1
  • sudo apt-get install libtiff4

4. sudo ln -s /usr/lib/libexpat.so.1 /usr/lib/libexpat.so.0
5. sudo ln -s /usr/lib/libtiff.so.4 /usr/lib/libtiff.so.3

Stellungnahme:
Der Inhalt dieses Artikels wird freiwillig von Internetnutzern beigesteuert und das Urheberrecht liegt beim ursprünglichen Autor. Diese Website übernimmt keine entsprechende rechtliche Verantwortung. Wenn Sie Inhalte finden, bei denen der Verdacht eines Plagiats oder einer Rechtsverletzung besteht, wenden Sie sich bitte an admin@php.cn