user3481289
user3481289

Reputation: 23

Can not press "run" in Intellij idea

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

Answers (1)

rosstex
rosstex

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

Related Questions