Could not find or load main class error in Java Eclipse [SOLVED]

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
[Music] hi guys hello and welcome to another java programming eclipse tutorial one of the questions that came to me was that i'm facing a problem where i could not find or load main class this is the error that i'm facing in eclipse so how can i fix the problem one of the ways that you can easily fix this problem would be that after you create the project in eclipse you can simply right click on the project and you can then go to the build path which is located right underneath the delete option that's where you can then click on configure build path once you're there you can go to the libraries tab in the libraries tab you will find modules path that's where you will find a jre if you want you can simply remove this jre and add it again so this is a library that you can easily remove by simply clicking on the library after you open the module path if it is closed make sure you click on it to open it and then you can remove it once you remove it you can click on the module path again and then click on add library once you click an ad library then you can choose jre system library and then you can hit next and from the execution environment click the drop down box and choose the correct gre library then you can hit the finish button then you can hit apply and close after that go ahead and run your program and you will receive the correct output hope this would solve your problem thank you for watching the tutorial don't forget to like share and subscribe to this channel
Info
Channel: Professor Saad
Views: 23,839
Rating: undefined out of 5
Keywords: could not find or load main class error in java eclipse, error could not find or load main class eclipse, main class, how to solve could not find or load main class error in java, how to solve could not find or load main class, could not find or load main class error in java, could not find or load main class, could not find or load main class java error, could not find or load main class in java netbeans, could not find or load main class error in java eclipse ide, java classpath
Id: qalMEKGwNDs
Channel Id: undefined
Length: 2min 2sec (122 seconds)
Published: Tue Mar 02 2021
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.