简体   繁体   中英

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.

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM