NetBeans Tutorial

Philippe Arteau edited this page Feb 3, 2017 · 2 revisions

Installation

This example worked in NetBeans IDE 8.0.2.

Prerequisites

Install the findbugs plugin through the NetBeans IDE.

  1. Enable the plugin "FindBugs Integration" in "Tools –> Plugins" -> "Available Plugins"
  2. Select "FindBugs Integration" and click "Install"
  3. Make sure you can use FindBugs "Source" -> "Inspect" -> Choose Configuration "FindBugs"
  4. Click "Inspect" (It might download some updates)

Enable FindBugs

  1. Enable FindBugs for editing on the fly in Tools –> Options –> Editor –> Hints
  2. Select FindBugs in the "Language" drop-down menu
  3. Check the box by "Run FindBugs in Editor"

Install Findsecbugs

  1. Click on "Tools"
  2. Click "Options"
  3. Click "Editor"
  4. Click "Hints"
  5. Click "Custom FindBugs Plugin"
  6. Click "Add"
  7. Navigate to the downloaded findsecbugs-plugin-x.x.x.jar file
  8. Click Add and OK the way out and "Apply"
  9. Restart NetBeans and the Security will now be in that list of FindBugs plugins