Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I want to test my netbeans project, whether it is Vulnerable to any attacks. So I have browsed for testing tools. I found this tool Coberturs-1.9.3. I have downloaded this tool and extracted and tried to run this tool. But I am facing all these problems as mentioned below.
[root@boss cobertura-1.9.3]# sh cobertura-instrument.sh
Exception in thread "main" java.lang.NoClassDefFoundError: net.sourceforge.cobertura.instrument.Main
at gnu.gcj.runtime.FirstThread.run() (/usr/lib/libgcj.so.5.0.0)
at _Jv_ThreadRun(java.lang.Thread) (/usr/lib/libgcj.so.5.0.0)
at _Jv_RunMain(java.lang.Class, byte const, int, byte const, boolean) (/usr/lib/libgcj.so.5.0.0)
at __gcj_personality_v0 (/root/Desktop/cobertura-1.9.3/java.version=1.4.2)
at __libc_start_main (/lib/tls/libc-2.3.4.so)
at _Jv_RegisterClasses (/root/Desktop/cobertura-1.9.3/java.version=1.4.2)
What might be the problem. Can you please anybody help me with Solution. If you know any netbeans Vulnerability testing tools you can please suggest me. As I am working on Linux machine, I request you to suggest Linux tools.
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,524
Rep:
Looks like either you're missing /usr/lib/libgcj.so.5.0.0, or something is wrong with the one that's there. Probably either the package libgcj, or the cobertura package is too old. But you can try this:
cd /usr/lib
ls -l libgcj.so*
Look for libgcj.so.5.0.0. If you don't find it, look for any newer libgcj library that isn't a link, and make a link to it, like so:
ln -s libgcj.so.6.1.2 libgcj.so.5.0.0
And see if it works. Otherwise you can update libgcj.
# /usr/sbin/update-alternatives --config java
There are 2 programs which provide 'java'.
Selection Command
-----------------------------------------------
1 /usr/lib/jvm/jre-1.4.2-gcj/bin/java
*+ 2 /usr/lib/jvm/jre-1.6.0-sun/bin/java
Enter to keep the current selection[+], or type selection number:
Thank you for giving reply , according to your suggestion and the Link what you have mentioned in the reply message, i have downloaded jdk 1.6.0_17-fcs.i586.rpm the file and installed in RHEL 4
but after i have searched for updated version of jdk in
# /usr/sbin/update-alternatives --config java
but i am unable to find the latest version only the old version is available
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.