Okay, so I'm trying to learn Java here, and I think I'm making this Hello World program correctly. But there's a problem. When I try to compile it, it gives mescreenshotfrom201206182.png1 error found:
File: (no associated file) [line: (no source location)]
Error: java.lang.NullPointerException
That's my code. What did I do wrong? Everything seems to be in order. Is it a problem with my IDE?Code:public class HelloWorld { public static void main(String[] args) { System.out.println("Hello World"); } }
Thanks in advance.





Reply With Quote

Bookmarks