Problem with running my code

已回答

Hello everyone I am using Intellij, and I am very new to coding in general, I am using the community version. I installed intelliJ on my macbook early 2015. For some reason my run button is grey and not green as I have seen on the Jetbrains main website and on youtube videos. I also have installed java so that is not an issue I believe. What should I do

0

Hello,

You need to put the lol.java class into the sources root. (src folder)

See https://www.jetbrains.com/help/idea/content-roots.html for more information about content roots.

0

请先登录再写评论。