0

I have a problem with NetBeans that when I click on New Project I find only C/C++ category and no Java category:

Project Wizard

I already have JDK installed in my computer and among the paths in "System variables". I can't find Java in NetBeans > Tools > Plugins > Installed either.

skomisa
  • 16,436
  • 7
  • 61
  • 102
Bubbaloo
  • 17
  • 1
  • 1
  • 7

1 Answers1

1

You probably have the necessary Java plugins installed, but they are not yet activated.

If you select Tools > Plugins > Installed, does the entry for Java SE look like this?...

Java SE not activated.

If the Activated icon for Java SE is gray then you need to:

  • Select the Java SE entry and check it.
  • Click the Activate button.

After that the Active icon should be a white check mark with a green background:

Java SE activated.

You can then use the project wizard for basic Java projects. To create a simple "Hello world!" application select File > New Project... > Java with Ant > Java Application.

Java project wizard

Notes:

  • NetBeans 11.0 supports multiple languages, and most functionality is not activated by default. This is because a JavaScript or PHP or C++ developer may have no use for Java functionality, and vice versa.
  • If you want to do JavaFX 2 and/or Java EE development you will also need to activate their plugins from the Installed tab shown in the screen shots above.
skomisa
  • 16,436
  • 7
  • 61
  • 102
  • Thank you for your explanation but I already said in the question that I can't find Java in _NetBeans > Tools > Plugins > Installed_ either. – Bubbaloo Jul 17 '19 at 14:28
  • @Bubbaloo My mistake entirely, and my apologies. I incorrectly assumed that you were using the current version of NetBeans, but I see that your issue is with NetBeans 8.2. My answer is irrelevant for your problem and I will correct it. – skomisa Jul 17 '19 at 14:33
  • @Bubbaloo I have tried unsuccessfully to reproduce your problem by uninstalling all the Java plugins on NetBeans 8.2, but even after doing that I still see **Java** listed in the **Categories** of the Project Wizard. Could you check the NetBeans log (**View > IDE Log**) and update your question if there are any relevant error messages in that log? Also, could you add a screen shot of the **Installed** tab of the **Tools > Plugins** screen? – skomisa Jul 18 '19 at 16:29