Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

FindBugs Does Not Show Up in Project Properties

I had just installed FindBugs plugin for Eclipse. My Eclipse is Juno. I am using Windows 7.

It shows up at Help -> about Eclipse -> Installed Software as FindBugs Feature

However it does not exist on Project Properties.

I had tried to run eclipse as Administrator, installing from either marketplace or manual.

But no luck.

I use a copied Eclipse (without installation) at Desktop.

Any thought on how to shows the FindBugs in project properties?

Thanks

like image 839
Raymond Avatar asked Jul 10 '14 07:07

Raymond


People also ask

How do I search FindBugs in eclipse?

For this right-click on a project and select Properties from the popup menu. Select FindBugs Run automatically.

How do you run FindBugs?

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.)

How do I install SpotBugs in eclipse?

Install from Marketplace Click on the Install button to proceed with SpotBugs installation. That's it. We have successfully install the FindBugs/SpotBugs Eclipse plugin.


2 Answers

All other answers (installing latest Java, Eclipse update, adding '-vm ...' to the .ini-file did not work for me. I solved it by clicking "Window"->"Perspective"->"Open Perspective"->"Other..."->"FindBugs".

Then switch back to 'Java'-perspective. Now the menu is available when you right-click the project.

like image 115
Philipp Doublehammer Avatar answered Oct 16 '22 15:10

Philipp Doublehammer


Just in case you haven't figured out yet, and so it might help others like me. If you are installing a version of Eclipse FindBugs 3.0 or greater, then it's only supported on Java 7. Update your JDK to 7.0 and you will see Findbugs show up as a part of your properties. Wasted a lot of hours on this one.

like image 24
Vinayak Ponangi Avatar answered Oct 16 '22 15:10

Vinayak Ponangi