简体   繁体   中英

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

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.

I had same problem. I am using Kepler + windows 7 + jdk1.5. This got resolved with jdk update from 1.5 to 1.7. May be it has dependency on 1.7 but there was no error message and like you said it was not visible in preference.

Check out this tutorial:

http://www.vogella.com/tutorials/Findbugs/article.html

I am using Eclipse Kepler in Windows 7, but it shouldn't make any difference.

There is also a FindBugs entry in context menu (right click project, under Import and Export options, in my case)

Edit your eclipse.ini file (you can find it in your eclipse installation folder) and change or add (if it does not exist) the -vm parameter value to a Java 7 JDK. More info here .

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM