I type this out of Sams Teach Yourself Java 6 into netbeans 7.0.1
and I get this after build successful
Error: Main method not found in class volcanorobot.VolcanoRobot, please define the main method as:
public static void main(String[] args)
Java Result: 1