Installation of FindBugs plugin with Eclipse IDE for Java EE Developers

16,506

As suggested above, problem is likely caused by not having appropriate write access to the C:\Program Files\Eclipse\plugins folder.

Solution: Close Eclipse. Restart Eclipse as Administrator (right click - Run as Administrator). Reinstall plugin. Restart Eclipse.

Share:
16,506
Aidan Whitehall
Author by

Aidan Whitehall

Updated on June 19, 2022

Comments

  • Aidan Whitehall
    Aidan Whitehall almost 2 years

    I'm struggling to get the Eclipse FindBugs plugin to work and am sure there's a schoolboy error being made somewhere.

    I extracted the file findbugs-2.0.2-rc2.zip to a local folder C:\Program Files\findbugs-2.0.2-rc2 and running findbugs.bat, FindBugs works fine running it over a local Java (Eclipse) project.

    I added the FindBugs update site, it found "FindBugs Feature, 2.0.1.20120712" and installed it. Restarting, right-clicking on an open Java Project doesn't display the "FindBugs" option (that this video shows).

    I looked in Window > Preferences to try to find a way to inform the plugin of the local FindBugs installation (in Program Files), but couldn't find anything.

    Uninstalling "FindBug Feature", I tried extracting the FindBugs Eclipse plugin zip file into Eclipse's plugins folder, but after a restart, saw no difference.

    Help > About Eclipse > Installation Details > Installed Software lists "FindBugs Feature 2.0.1.20120712".

    Can anyone please offer a pointer on where I'm going wrong here? Thanks!

    Windows 7, Eclipse IDE for Java EE Developers Juno SR1, JDK 1.7.0_09, FindBugs 2.0.2-rc2