This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Beginning Java and the fly likes No main class Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "No main class" Watch "No main class" New topic
Author

No main class

abalfazl hossein
Ranch Hand

Joined: Sep 06, 2007
Posts: 635


The error is no main class!

Why?
Rob Spoor
Sheriff

Joined: Oct 27, 2005
Posts: 19651
    
  18

Check out the signature of your main method: Isn't there something missing?


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6
How To Ask Questions How To Answer Questions
 
Consider Paul's rocket mass heater.
 
subject: No main class
 
Similar Threads
When to use flush() in Java?
error in struts program
"write end dead" or "pipe" broken error
It doesnot print the content the file
New to Java, Simple I/O question