21
votes

I want to write a java web application using NetBeans 7.0.1, but i can't find the option Java Web in File -> New Project. Do i need to get any special Java edition to do that?

7
Welcome to Superusers. You might want to ask your question in Web Applications. Superuser is aimed more at personal computer hardware, software and home networking. - CharlieRB
Does JApplet or Applet appear when you go to File > New File > Java? - iglvzx
Also, have you used Netbeans before? Did you install a JDK? - iglvzx
Your question is duplicate of : stackoverflow.com/questions/3102512/… - Adel Boutros
@AdelBoutros, not necessarily because that question is about version 6.8, not 7.0+. - Paul

7 Answers

41
votes
  1. Go to the Tools menu and select Plugins.
  2. Click on the "Available Plugins" tab.
  3. Check the box for "Java EE Base" (note: on older NetBeans versions, the plugin to install was called "Java Web Applications").
  4. Click the "Install" button.
  5. Click your way through the dialogs until the plugin and its dependencies are installed.
  6. Restart the IDE.

You should now find "Java Web" in File -> New Project.

31
votes
  1. Go to the Tools menu and select Plugins.
  2. Click on the "Available Plugins" tab.
  3. Check the box for "Java EE Base".
  4. Click the "Install" button.
  5. Select "Web Projects" from plugin list
  6. Check the term & condition checkbox
  7. Click next and wait while NetBeans downloading the plugin
  8. Restart IDE
17
votes

My answer will provide images for you to understand easily.

Go to Tools -> Plugins like this image

Plugins

In Plugins windows, select Available Plugins tab, choose and install Java EE Base like this image JavaEEBase

Now just follow the instruction and install the plugin, when it's done, restart the Netbeans, then you can create Java Web Application like this image Create web

7
votes

I had problems while finding the plugins under the Available plugins tab. The reason was under the settings tab, the three checkboxes were unchecked. I checked them all and then I can see the plugins under the Available plugins Tab.

And then I followed the steps mentioned in other answers. Hope this is also useful to this context.

6
votes

Well, maybe you cant find Java Web in the installation list, so, search for Java EE Base, in Netbeans 7.x is the option, and includes the comment that includes Java Web and EE.

regards

0
votes

If you have NetBeans 8.2+ and installed the EE edition, open the plugin panel from Tools -> Plugins. Go to the installed tab and check the Java EE Base plugin. Then activate that plugin.

If you need other options as well the select all the plugins under the Web and Java EE category and activate them.

0
votes

In my case Above mentioned thing didn't worked for me.

I have installed multiple JDK (JDK version 8 and 9) due to which Netbeans 8.2 might not working as expected and then I was unable to create project.

Then I removed JDK9 and cleared cache from \Users\admin\AppData in windows.

Then I was able to create Java Project.