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 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.
Run the installer
- In OS X and Linux:
```
$ sh netbeans-<version>.sh
```
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.
If you accept the license, click Next.
Choose installation folder and Java SDK.
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.
Choose the folder for installing the server.
Check the settings.
Click Finish. It takes a while to install the NetBeans IDE.
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:
$ /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.
Select Tools › Plugins from the NetBeans main menu.
Select the Available Plugins tab.
Type “Vaadin” in the Search box and press kbd:Enter[].
Select the Install check box for the Vaadin Plugin for NetBeans.
Click Install.
In the plugin installation window, click Next.
Accept the license if choose to do so. Click Install.
The Vaadin Plugin is not signed, so you need to verify the certificate. Click Continue.
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.