View Single Post
  #2 (permalink)  
Old 07-23-2007, 10:15 AM
JavaBean's Avatar
JavaBean JavaBean is offline
Moderator
 
Join Date: May 2007
Posts: 1,272
JavaBean is on a distinguished road
The definition of main method should be like this:

Code:
public static void main(String args[])
So you forgot static keyword there!
Reply With Quote