You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

installing-netbeans.asciidoc 3.7KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112
  1. ---
  2. title: Installing NetBeans IDE
  3. order: 110
  4. layout: page
  5. ---
  6. [[installing.netbeans]]
  7. = Installing the NetBeans IDE and Plugin
  8. Vaadin offers official support for the NetBeans IDE.
  9. The Vaadin Plug-in for NetBeans supports creating Vaadin projects, updating Vaadin libraries, compiling widget sets, and more.
  10. It also allows directly downloading Vaadin add-ons from the Vaadin Directory.
  11. .Installation of the NetBeans IDE toolchain
  12. image::img/installation-netbeans-hi.png[width=100%, scaledwidth=100%]
  13. The installation bundle includes a web server, so you do not need that.
  14. Once done with the installation, you can proceed to create a Vaadin project, as described in <<../getting-started/getting-started-netbeans#getting-started.netbeans, "Creating a Project with the NetBeans IDE">>.
  15. [[installing.netbeans.ide]]
  16. == Installing the NetBeans IDE
  17. Download NetBeans IDE from the website at https://netbeans.org/downloads/[netbeans.org].
  18. We recommend using the _Java EE_ download bundle, which includes support for Java EE, and also both the GlassFish and Tomcat application servers.
  19. . Run the installer
  20. .. In OS X and Linux:
  21. +
  22. [subs="normal"]
  23. ----
  24. [prompt]#$# [command]#sh# [replaceable]#netbeans-<version>.sh#
  25. ----
  26. . Select to install either GlassFish or Apache Tomcat, or both.
  27. GlassFish supports Java EE, which is required by Vaadin CDI and Vaadin Spring add-ons, while standard Tomcat does not support it.
  28. Click [guibutton]#Next#.
  29. ifdef::web[]
  30. +
  31. image::img/installing-netbeans-1.png[width=60%]
  32. endif::web[]
  33. . If you accept the license, click [guibutton]#Next#.
  34. . Choose installation folder and Java SDK.
  35. ifdef::web[]
  36. +
  37. image::img/installing-netbeans-3.png[width=60%]
  38. endif::web[]
  39. +
  40. In OS X and Linux, if you ran the installer with root permissions or can write to [filename]#/opt#, the [filename]#/opt# path is standard for such system-wide packages.
  41. +
  42. Click [guibutton]#Next#.
  43. . Choose the folder for installing the server.
  44. ifdef::web[]
  45. +
  46. image::img/installing-netbeans-4.png[width=60%]
  47. endif::web[]
  48. . Check the settings.
  49. ifdef::web[]
  50. +
  51. image::img/installing-netbeans-5.png[width=60%]
  52. endif::web[]
  53. +
  54. Click [guibutton]#Finish#.
  55. It takes a while to install the NetBeans IDE.
  56. . Finally, click [guibutton]#Done# to exit the installer.
  57. You can now start NetBeans by starting the [filename]#bin/netbeans# from under the installation folder.
  58. In Linux and OS X:
  59. [subs="normal"]
  60. ----
  61. [prompt]#$# [replaceable]#/opt/netbeans-8.1#/bin/netbeans
  62. ----
  63. You can now proceed to install the Vaadin Plug-in for NetBeans IDE.
  64. [[installing.netbeans.plugin]]
  65. == Installing the Vaadin Plug-in for NetBeans IDE
  66. You can install the plug-in from the NetBeans Plugin Portal Update Center as follows.
  67. . Select "Tools > Plugins" from the NetBeans main menu.
  68. . Select the [guilabel]#Available Plugins# tab.
  69. .. Type "Vaadin" in the [guilabel]#Search# box and press kbd:[Enter].
  70. .. Select the [guilabel]#Install# check box for the [guilabel]#Vaadin Plugin for NetBeans#.
  71. ifdef::web[]
  72. +
  73. image::img/installing-netbeans-plugin-1.png[width=80%]
  74. endif::web[]
  75. .. Click [guibutton]#Install#.
  76. . In the plugin installation window, click [guibutton]#Next#.
  77. . Accept the license if choose to do so.
  78. Click [guibutton]#Install#.
  79. . The Vaadin Plugin is not signed, so you need to verify the certificate.
  80. Click [guibutton]#Continue#.
  81. . In the final step, select [guilabel]#Restart IDE now# and click [guibutton]#Finish#.
  82. You can now proceed to create a Vaadin project, as described in <<../getting-started/getting-started-netbeans#getting-started.netbeans, "Creating a Project with the NetBeans IDE">>.
  83. The Vaadin Plug-in for NetBeans IDE can also be downloaded from the plug-in page at http://plugins.netbeans.org/plugin/50531/vaadin-plug-in-for-netbeans[plugins.netbeans.org/plugin/50531/vaadin-plug-in-for-netbeans].