0

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?

Edited by Reapt

2
Contributors
2
Replies
12
Views
3 Years
Discussion Span
Last Post by JamesCherrill
This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.