netbeans error main class
-
hi i am using netbeans 7.2.1 for my java development . Recently i found that i cant compile the java programs. The compiler shows that "error could not find or load main class". So please help me to solve this problem
-
hi i am using netbeans 7.2.1 for my java development . Recently i found that i cant compile the java programs. The compiler shows that "error could not find or load main class". So please help me to solve this problem
This is a common error. Its told you that classes ,you have used in your application, not in project classpath. So make sure that you have add the location of your .class file to your classpath.
Regards Shubhashish
-
hi i am using netbeans 7.2.1 for my java development . Recently i found that i cant compile the java programs. The compiler shows that "error could not find or load main class". So please help me to solve this problem
-
hi i am using netbeans 7.2.1 for my java development . Recently i found that i cant compile the java programs. The compiler shows that "error could not find or load main class". So please help me to solve this problem
To compile any class in netbeans you must specify the main() method in file named similar to class.If compiler don`t find that required method it will throw this error.
-
hi i am using netbeans 7.2.1 for my java development . Recently i found that i cant compile the java programs. The compiler shows that "error could not find or load main class". So please help me to solve this problem
This link may be of assistance, as you can see there are many possible contributors. Hope this helps. http://frickelblog.wordpress.com/2010/04/30/no-main-class-found/