Netbeans Installation and Configurations

go to the following link

download the exe and install.

Configuration with netbeans 12

open tomcat-users file located in C:\Program Files\Apache Software Foundation\Tomcat 10.0\conf.

below is the example of configuration in tomcat-users.

<tomcat-users xmlns=""
              xsi:schemaLocation=" tomcat-users.xsd"
<user username="ahmadkakarr" password="kakar" roles="admin-gui,manager-gui,manager-script" />

Plugins installation

if you get java.lang error and servlet is not running. install the

I encountered this problem in Netbeans 12.0 today using OpenJDK 14. It turns out the problem was resolved by installing the nb-javac plugin.

The installation of this plugin did work for me using Apache Netbeans 12.0, with JDK 8 to GlassFish 5.1.0 and for project’s java platform. Seems that it is needed in case you are using JDK just as a library, without define your environment variables, since my default JDK is 13. Here the describe of nb-javac plugin for someone who wants give more accurate statement about the need of it to run a servlet:

java.lang.UnsupportedOperationException: Not supported yet.