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.
Please sign in to leave a comment.
Please see https://www.jetbrains.com/help/idea/running-applications.html .
It looks like you've specified the wrong main class for Main configuration.
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.
I Followed steps but i couldn't fix it
Kareem Emad900810
See https://stackoverflow.com/a/42660624/104891.