does not have main method java netbeans | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

does not have main method java netbeans

I downloaded someone else's project and got that error I've followed the tutorial on Google but still get an error How to solve it? Is it a database problem? Or is it a problem with NetBeans?

19th Jun 2023, 6:40 AM
Nasywa
4 Answers
+ 5
We don't know what is written in someone else project.
19th Jun 2023, 10:04 AM
A͢J
A͢J - avatar
+ 2
Are you sure you have all of the files from the project? Can you see the main method in one of the files?
19th Jun 2023, 10:39 AM
Ausgrindtube
Ausgrindtube - avatar
+ 2
Maybe the Java version of the project is not supported by the Netbeans. If that is the case, updating your IDE will help
17th Jul 2023, 1:46 AM
Muhd Khairul Amirin
Muhd Khairul Amirin - avatar
0
Ausgrindtube Yes, I believe I have all the files from the project I have checked directly, I have visited the person who has the project I have matched the files of the project and the contents are exactly the same (I saw the person's project directly from his laptop )
19th Jun 2023, 11:13 AM
Nasywa