21

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?

5
  • 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
    Jan 7, 2012 at 19:22
  • Does JApplet or Applet appear when you go to File > New File > Java?
    – iglvzx
    Jan 7, 2012 at 20:14
  • Also, have you used Netbeans before? Did you install a JDK?
    – iglvzx
    Jan 7, 2012 at 20:16
  • Your question is duplicate of : stackoverflow.com/questions/3102512/… Jan 7, 2012 at 21:09
  • @AdelBoutros, not necessarily because that question is about version 6.8, not 7.0+.
    – Paul
    Jan 7, 2012 at 21:27

7 Answers 7

41
  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.

9
  • Your answer is duplicate of : stackoverflow.com/questions/3102512/… Jan 7, 2012 at 21:42
  • You just repeated what the answer of that question suggested. Do not take credit for others' answers. Jan 7, 2012 at 21:43
  • 7
    @AdelBoutros I know it's easier to click the downvote button than it is to read but you should at least take the time to consider what you're writing. For example, my answer gives the exact title of the plugin necessary. How did I steal that from the other answer? I didn't because I took the time to install the basic version of NetBeans 7.0.1, then install the plugins necessary to enable Java web application development. I had NB 6.8 on this computer so I figured I'd kill two birds with one stone: upgrade my installation and help someone out.
    – Paul
    Jan 7, 2012 at 21:53
  • 2
    Thank you. I believe it should be noted that in order for your answer to work for me, I had to go to Tools > Plugins > Settings and click "Netbeans Distributions". Before I did that, I could not see "Java Web Applications" on my list. Jun 16, 2012 at 17:06
  • 1
    For NetBeans 8.2 use kangaswad's answer. The plugin to install is Java EE Base. Aug 21, 2018 at 17:38
31
  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
1
  • 4
    For NetBeans 8.2 basic installation this is the correct method, the plugin is called "Java EE Base", not "Java Web Applications". Sep 17, 2017 at 4:55
18

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

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.

0
6

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

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

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.

Not the answer you're looking for? Browse other questions tagged or ask your own question.