Source works in NetBeans but not with java/javac (commandline)

Printable View