O'Reilly logo

NetBeans IDE 8 Cookbook by Rhawi Dantas, David Salter

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Installing JUnit support into NetBeans

Since Version 7 of NetBeans, JUnit has not been included with the standard installation of NetBeans. JUnit uses the Common Public License, and as such, cannot be installed by default with fresh installs of NetBeans.

You may have noticed when installing NetBeans that you are asked partway through the installation if you wish to install JUnit support. To install JUnit support during installation, you must agree to the JUnit license agreement.

If you did not install JUnit during NetBeans installation, this recipe will show you how to install JUnit support. The JUnit License Agreement page of NetBeans IDE Installer is shown in the following screenshot:

Getting ready

To complete this recipe, you must use either the ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required