Can not start PyCharm IDE 2020.3 via JetBrain ToolBox on Mac OS X

Andy Chiang
2 min readJan 6, 2021

When you upgrade PyCharm old version (ex: 2020.2) to 2020.3 and start it happily but see this alert…..

Unsupported Java Version
Unsupported Java Version

Please check your JAVA version…

$ java --version
java 15.0.1 2020–10–20
Java(TM) SE Runtime Environment (build 15.0.1+9–18)
Java HotSpot(TM) 64-Bit Server VM (build 15.0.1+9–18, mixed mode, sharing)Oh that’s the newest version, why the IDE can’t get this?

Open toolbox and find PyCharm settings and click the Show text.

PyCharm Professional Settings
PyCharm Professional Settings

Go up to the “PyCharm 2020.3” folder, you will find the pycharm.jdk file, open it with your text editor.

If you see the content:

/Library/Java/JavaVirtualMachines/jdk1.8.0_25.jdk

That’s why your PyCharm can not be started, cause it remembers the old version of JRE. Now your job is to update it manually. Just modify the correct JRE path in pycharm.jdk.

Save the file and restart PyCharm. That’s it.

PS: List all JRE versions command:

$ /usr/libexec/java_home -V
15.0.1 (x86_64) "Oracle Corporation" — "Java SE 15.0.1"
/Library/Java/JavaVirtualMachines/jdk-15.0.1.jdk/Contents/Home
11.0.9 (x86_64) "Oracle Corporation" — "Java SE 11.0.9" /Library/Java/JavaVirtualMachines/jdk-11.0.9.jdk/Contents/Home
1.8.0_271 (x86_64) "Oracle Corporation" — "Java SE 8" /Library/Java/JavaVirtualMachines/jdk1.8.0_271.jdk/Contents/Home
1.8.0_25 (x86_64) "Oracle Corporation" — "Java SE 8" /Library/Java/JavaVirtualMachines/jdk1.8.0_25.jdk/Contents/Home

--

--

Andy Chiang

不多話,愛兩個寶貝,寫Python,愛騎車,聽音樂