Installing the NetBeans IDE and Plugin

Vaadin offers official support for the NetBeans IDE. The Vaadin Plug-in for NetBeans supports creating Vaadin projects, updating Vaadin libraries, compiling widget sets, and more. It also allows directly downloading Vaadin add-ons from the Vaadin Directory.

installation netbeans hi

Installation of the NetBeans IDE toolchain

The installation bundle includes a web server, so you do not need that.

Once done with the installation, you can proceed to create a Vaadin project, as described in “Creating a Project with the NetBeans IDE”.

Installing the NetBeans IDE

Download NetBeans IDE from the website at netbeans.org. We recommend using the Java EE download bundle, which includes support for Java EE, and also both the GlassFish and Tomcat application servers.

  1. Run the installer

    1. In OS X and Linux:
  1. ```
  2. $ sh netbeans-<version>.sh
  3. ```
  1. Select to install either GlassFish or Apache Tomcat, or both. GlassFish supports Java EE, which is required by Vaadin CDI and Vaadin Spring add-ons, while standard Tomcat does not support it. Click Next.

    installing netbeans 1

  2. If you accept the license, click Next.

  3. Choose installation folder and Java SDK.

    installing netbeans 3

    In OS X and Linux, if you ran the installer with root permissions or can write to /opt, the /opt path is standard for such system-wide packages.

    Click Next.

  4. Choose the folder for installing the server.

    installing netbeans 4

  5. Check the settings.

    installing netbeans 5

    Click Finish. It takes a while to install the NetBeans IDE.

  6. Finally, click Done to exit the installer.

You can now start NetBeans by starting the bin/netbeans from under the installation folder.

In Linux and OS X:

  1. $ /opt/netbeans-8.1/bin/netbeans

You can now proceed to install the Vaadin Plug-in for NetBeans IDE.

Installing the Vaadin Plug-in for NetBeans IDE

You can install the plug-in from the NetBeans Plugin Portal Update Center as follows.

  1. Select Tools Plugins from the NetBeans main menu.

  2. Select the Available Plugins tab.

    1. Type “Vaadin” in the Search box and press kbd:Enter[].

    2. Select the Install check box for the Vaadin Plugin for NetBeans.

      installing netbeans plugin 1

    3. Click Install.

  3. In the plugin installation window, click Next.

  4. Accept the license if choose to do so. Click Install.

  5. The Vaadin Plugin is not signed, so you need to verify the certificate. Click Continue.

  6. In the final step, select Restart IDE now” and click [guibutton]#Finish.

You can now proceed to create a Vaadin project, as described in “Creating a Project with the NetBeans IDE”.

The Vaadin Plug-in for NetBeans IDE can also be downloaded from the plug-in page at plugins.netbeans.org/plugin/50531/vaadin-plug-in-for-netbeans.