title: Running Program
body: <p>I'm currently using NetBeans IDE 7.4.
  When i (Clean and Build) my programs, they don't work unless there is a GUI. For example i have made 2 programs, a calculator and a click counter that had GUI and worked from the .java file. The simple "Hello World" program without a GUI and a number guessing game i made without GUI do not work from the .java file. The programs work completely fine in the IDE but after i (clean and build) the .java file of the projects do not even open. Does every program have to have a GUI? I thought programs like "Hello World" would be ran from the cmd by default. Thanks for the help!</p>