title: I cant print a simple JAVA code with BlueJ , works in CMD
body: <p>I am new to java, and I can't seem to figure out how I can get this simple code to work properly. I understand the code, and I have it typed exactly how the book has it. The code compiles with no errors, but it just doesn't print anything. I think the problem has to do with the main function or something, because when I right click the class in BlueJ and click on void main it will compile correctly.</p>
  
  <p>Anyways, here's the code.</p>
  
  <pre><code> public class Test
  {
     public static void main(String[] args)
     {
       System.out.println("Hello World!");
     }
  }
  </code></pre>
  
  <p>Am I doing something wrong in BlueJ, or is it supposed to be that way? Thanks!</p>