Using netbeans IDE 8.0, and have JDK 1.8. Created a project and file that does this.
public class Tutorial {
public static void main(String[] args) {
// TODO code application logic here
system.out.println("Hello World!");
}
}
and when running i get this error...
Exception in thread "main" java.lang.RuntimeException: Uncompilable source code - Erroneous sym type: system.out.println
at tutorial.Tutorial.main(Tutorial.java:5)
Java Result: 1
BUILD SUCCESSFUL (total time: 1 second)
doesnt work. Whats going on?