Thread
:
Errors when compiling simple program
View Single Post
Feb 20th, 2005, 2:15 PM
#
2
ZenMasterJG
Hobbyist Programmer
Join Date: Nov 2004
Location: Boston, MA
Posts: 148
Rep Power:
4
make sure the filename is the same as the class name (you said class example and javac Example.java)
Also, it should be:
public static void main(String[] args)
Good luck
ZenMasterJG
View Public Profile
Find More Posts by ZenMasterJG