Click here to Skip to main content
15,890,282 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
i run the downloaded java project in netbeans IDE. it gives error : could not find or load main class

What I have tried:

after downloading project extract files in a folder. place this folder in nb project.import existing project then run it.
Posted
Updated 30-Apr-17 21:44pm
Comments
[no name] 30-Apr-17 14:04pm    
You go where ever you downloaded the project from and ask whomever wrote the code.
[no name] 1-May-17 1:26am    
I hope that you have downloaded the IDE and it is working. To me I think you have missed some java files especially the .java file with main class which contains this method[public static void main(String[] args)]

1 solution

You program is not complete, you need to examine the source to see why it is missing a main method. See The Java™ Tutorials[^].
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900