Error: Could not find or load main class java Caused by: java.lang.ClassNotFoundException: java

Answered

I am receiving this error while I am trying to make my first JavaFX code. How I could resolve it please explain in a brief and easy way.

0
4 comments

Please see https://www.jetbrains.com/help/idea/running-applications.html .

It looks like you've specified the wrong main class for Main configuration.

0

Please create a new project. Even if there is no error, maybe the above error is displayed. When I create a new project, It runs correctly without any errors.

0

I Followed steps but i couldn't fix it  

0

Please sign in to leave a comment.