I just started learning java and for some reason, I can't run any class other than the main one. When I right click on another class, there should be a "run" green arrow button, but for me there isn't. What's even more weird is that when I use my laptop, it works perfectly fine. What's the problem?screenshot of what doesn't work
Asked
Active
Viewed 62 times
0
-
It looks like JDK is not configured properly for the project. Check out https://www.jetbrains.com/help/idea/creating-and-running-your-first-java-application.html . Try to delete and configure the JDK again. See also https://stackoverflow.com/a/42660624/104891 . – CrazyCoder Apr 02 '20 at 01:21
-
Has your class been compiled? – NomadMaker Apr 02 '20 at 01:55
-
Write click from the editor and press run – Shivam Bharadwaj Apr 02 '20 at 05:32