I try to use the FindBugs 3.0.0 in my Eclipse Luna.
After installing it it should be available on context menu of my JavaProject and under Window -> Preferences -> Java -> Find Bugs.
But it isn't there.
I tried it with installation from Marktplace, Update Site and downloading the Zip and putting it into my Eclipse installation.
Is there anything else I have to do to make it run?
Greeting Sören
You can configure that FindBugs should run automatically for a selected project. For this right-click on a project and select Properties from the popup menu. Select FindBugs Run automatically.
The preferred method of running FindBugs is to directly execute $FINDBUGS_HOME /lib/findbugs. jar using the -jar command line switch of the JVM (java) executable. (Versions of FindBugs prior to 1.3. 5 required a wrapper script to invoke FindBugs.)
FindBugs operates on Java bytecode, rather than source code. The software is distributed as a stand-alone GUI application. There are also plug-ins available for Eclipse, NetBeans, IntelliJ IDEA, Gradle, Hudson, Maven, Bamboo and Jenkins.
I had the same problem. My eclipse run on JVM 6 and FindBugs didn't work. I switch eclipse to use JVM 7 and this fixed issue. For more info how to switch JVM version that eclipse uses, see this eclipse Wiki
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With