Reputation: 23
I have updated my Java recently and since then i can not press "run" (the green arrow) anymore. I tried to reinstall Intellij but it did not work.
Upvotes: 2
Views: 3866
Reputation: 825
Try right-clicking within the file that contains a main
method, and click "Run CLASSNAME.main()". That should generate a run configuration for the file that will let you use the green play button.
Upvotes: 4