>데이터 베이스 >MySQL 튜토리얼 >jad error while loading shared libraries libstdc++-libc6.2-2

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

WBOY
WBOY원래의
2016-06-07 15:48:531349검색

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

성명:
본 글의 내용은 네티즌들의 자발적인 기여로 작성되었으며, 저작권은 원저작자에게 있습니다. 본 사이트는 이에 상응하는 법적 책임을 지지 않습니다. 표절이나 침해가 의심되는 콘텐츠를 발견한 경우 admin@php.cn으로 문의하세요.