Unable to run Java code with Intellij IDEA

后端 未结 12 2487
说谎
说谎 2020-12-14 05:18

I have just downloaded the IDE, and I want to edit my first Java file with it, I\'m not interested in creating a whole project, just editing the single file.

So I op

12条回答
  •  悲&欢浪女
    2020-12-14 05:59

    Last resort option when nothing else seems to work: close and reopen IntelliJ.

    My issue was with reverting a Git commit, which happened to change the Java SDK configured for the Project to a no longer installed version of the JDK. But fixing that back still didn't allow me to run the program. Restarting IntelliJ fixed this

提交回复
热议问题