Results 1 to 3 of 3
Thread: Problems with Eclipse
- 01-23-2009, 12:49 PM #1
Member
- Join Date
- Jan 2009
- Posts
- 1
- Rep Power
- 0
- 01-23-2009, 01:11 PM #2
Member
- Join Date
- Jan 2009
- Posts
- 6
- Rep Power
- 0
check whether in ur program main() fuction is available or not..
and check spelling,syntax like below code....
public class Sample{
public static void main(String[] args) {
System.out.println("main called");
}
}
- 01-24-2009, 06:58 PM #3
- Join Date
- Jul 2007
- Location
- Colombo, Sri Lanka
- Posts
- 11,374
- Blog Entries
- 1
- Rep Power
- 18
Yes, as subashm says in your Java class main method is not implemented. So you cannot run a Java class without a main method. Hope you get that error at run time, not at compile time.
Similar Threads
-
Equinox problems running on Eclipse 3.4
By jguerra in forum EclipseReplies: 0Last Post: 09-05-2008, 02:34 PM -
problems in eclipse 3.3.2
By KiDHaCK in forum EclipseReplies: 0Last Post: 06-17-2008, 04:55 PM -
Problems with hibernate and eclipse
By Albert in forum JDBCReplies: 2Last Post: 06-05-2008, 03:34 PM -
Problems with Eclipse
By Daniel in forum EclipseReplies: 1Last Post: 07-06-2007, 04:23 PM -
Problems with Eclipse and MyEclipse
By Eric in forum EclipseReplies: 1Last Post: 07-05-2007, 08:10 PM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks