Kevin Oswaldo
Kevin Oswaldo

Reputation: 518

InteliJ Mac Catalina: Java 11 or newer is required to run the IDE

Hello yesterday I updated my IntelliJ ide to the latest version (2020.3.2). The problem is that it's not starting anymore. When I try to open it, I get this error message:

enter image description here

I have two JDKs, 8 and 12

enter image description here

It seems like InteliJ does some kind of lookup by alphabetical order because when I rename my jdk 8 to other name that goes after the "jdk-12..." it actually works

enter image description here

The problem is that have to rename the folders and then return the original names to make my projects work, is there a way to avoid this renaming? Thanks a lot

Upvotes: 5

Views: 7386

Answers (2)

kujiy
kujiy

Reputation: 6127

I bumped into this issue with my PyCharm. In that case, pycharm.jdk was the one we need to remove.

~/Library/Application Support/JetBrains/PyCharm2020.3$ mv pycharm.jdk /tmp

Hope it helps someone came here by google.

Upvotes: 2

CrazyCoder
CrazyCoder

Reputation: 401877

This IntelliJ IDEA version requires Java 11 to run.

You override default bundled JetBrains Runtime with Java 8.

The solution is to remove this override. It's either idea.jdk file in the configuration directory or an environment variable as described in this document:

~/Library/Application Support/JetBrains/IntelliJIdea2020.3/idea.jdk

Note that JDK used to run IntelliJ IDEA itself is not related to the JDK that you are using to build and run your own projects. These two can be different.

Upvotes: 7

Related Questions