After installing JDK 11, I installed Netbeans from the repository. After all the processes, I finally installed successfully but when I created a simple program or opened the sample programs in this software, but there are many failures here.
Example: When I created a new java program,failures are:
cannot access java.lang fatal error unable to find package java.lang in classpath or bootclasspath
in the line shows the package's name and
cannot find symbol class String
I think there is something wrong in the installation. How do I solve the issue?