I installed NetBeans IDE 10.0, in which Netbeans is at 8.3 Patch 2,
alongside the JDK v 11.0.4 on Ubuntu 5.0.0-27. Create a new Java
application, say HelloWorld. The generated app will neither build nor run.


The generated source program (HelloWorld.java) contains just this (not
counting comments):

package newhello;
public class HelloWorld {
     public static void main(String[] args) {
     }
}
 
The initial package statement is flagged because the IDE says it can't
access java.lang. The Projects pane lists "JDK 11 (Default)" under the
Libraries but nothing underneath that folder. The String declaration is
flagged as "can't find symbol". Alt+Enter offers no suggestions for how to
fix either problem.
 
--
Walter C. Oney, Jr., Esq.
267 Pearl Hill Rd., Fitchburg, MA 01420
Tel.: 978-343-3390
 <http://www.oneylaw.com/> http://www.oneylaw.com
 

Reply via email to