|Eclipse HelloWorld program not working. Error: Could not find or load main class HelloWorld Caused b [message #1837090]
||Thu, 21 January 2021 23:34
| Atticus Lee
Registered: January 2021
My little brother is taking his first programming course in Java, but we've been having some major issues with eclipse. On the creation of any new program, it instantly gives the problem "The project was not built due to "Failed to init ct.sym". I saw a post earlier about how someone else was having the issue, but I followed what the responses said in that post and still didn't get it resolved.
Once I add code to the project and try to run it, it gives the error,
Error: Could not find or load main class HelloWorld
Caused by: java.lang.ClassNotFoundException: HelloWorld
I've looked through several other posts on stack overflow and the Newcomer forums about how to fix this, but none of them have managed to work yet. I have JDK 15 downloaded currently. but I'm not sure if there's an issue where I'm not pointing to it correctly. I'm not a huge fan of IDE's myself, so I'm pretty new to figuring out their issues.
I have included screenshots which I hope will clear up the issues I'm having. Please respond as soon as possible.
(Size: 51.51KB, Downloaded 42 times)
(Size: 51.50KB, Downloaded 36 times)
(Size: 50.72KB, Downloaded 36 times)
Powered by FUDForum
. Page generated in 0.02578 seconds