Bubbaloo
Bubbaloo

Reputation: 37

I can't find Java among the categories when I press on "New Project" in NetBeans

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.

Upvotes: 0

Views: 1388

Answers (1)

skomisa
skomisa

Reputation: 17383

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.

Upvotes: 1

Related Questions