"Could not find or load main class" in terminal

Answered

So, I updated Java jdk yesterday and after that, I can't seem to run the main methods of classes that require input through command prompt. It keeps showing me this error that I mentioned in the title. All my files were running perfectly before that. I am really stressed out as I have an assignment due very soon in 2 days.

0
2 comments
Avatar
Permanently deleted user

I already saw previous posts and those were not helping.

0

Hi. Please attach idea.log/build.log files: Help | Compress Logs and Show in ...

0

Please sign in to leave a comment.