Intellij not working after upgrade
Mac OS version: 10.13.6
Script: /Applications/IntelliJ\ IDEA\ CE.app/Contents/MacOS/idea
2020-04-10 23:45:58.928 idea[8125:50803] allVms required 1.8*,1.8+
2020-04-10 23:45:58.993 idea[8125:50813] Cannot load JVM bundle: Error Domain=NSCocoaErrorDomain Code=3587 "dlopen_preflight(/Applications/IntelliJ IDEA CE.app/Contents/jbr/Contents/MacOS/libjli.dylib): no suitable image found. Did find:
/Applications/IntelliJ IDEA CE.app/Contents/jbr/Contents/MacOS/libjli.dylib: code signature invalid for '/Applications/IntelliJ IDEA CE.app/Contents/jbr/Contents/MacOS/libjli.dylib'
/Applications/IntelliJ IDEA CE.app/Contents/jbr/Contents/MacOS/libjli.dylib: stat() failed with errno=1" UserInfo={NSLocalizedFailureReason=The bundle is damaged or missing necessary resources., NSLocalizedRecoverySuggestion=Try reinstalling the bundle., NSFilePath=/Applications/IntelliJ IDEA CE.app/Contents/jbr/Contents/MacOS/libjli.dylib, NSDebugDescription=dlopen_preflight(/Applications/IntelliJ IDEA CE.app/Contents/jbr/Contents/MacOS/libjli.dylib): no suitable image found. Did find:
/Applications/IntelliJ IDEA CE.app/Contents/jbr/Contents/MacOS/libjli.dylib: code signature invalid for '/Applications/IntelliJ IDEA CE.app/Contents/jbr/Contents/MacOS/libjli.dylib'
/Applications/IntelliJ IDEA CE.app/Contents/jbr/Contents/MacOS/libjli.dylib: stat() failed with errno=1, NSBundlePath=/Applications/IntelliJ IDEA CE.app/Contents/jbr, NSLocalizedDescription=The bundle “OpenJDK 11.0.5” couldn’t be loaded because it is damaged or missing necessary resources.}
Please sign in to leave a comment.
The error is
So, OpenJDK (VM where IntelliJ IDEA is running) cannot be loaded.
Please try running IDE using JetBrains Runtime (JBR). See the instructions here:
https://intellij-support.jetbrains.com/hc/en-us/articles/206544879-Selecting-the-JDK-version-the-IDE-will-run-under?page=5
I get the same error for Webstorm, I just updated from 2019.3 to 2020.1 on Mac.
I can't open the application at all.
Apparently Mac runs JBR by default...
I resolved by downloading and installing (including overwriting in applications directly)