IDE doesn't start after updating to Mac OS Yosemite or Mavericks

Information below is obsolete for the current product versions bundled with Java 8. It applies only to the old product versions that depend on system JDK installed on Mac. As of now, we have resolved most of Java 8 issues for this OS and bundle our custom patched Java version that works the best. In case you have any issues with Java 8, you can switch back to Apple Java 1.6 (must be installed per instructions below). See this blog post for the instructions.

 

JDK 1.6 is required to run and may be missing on your system. Please install Apple JDK 1.6. There should be a window with the suggestion to install Java when you start the product for the first time, but it could be hidden by other application windows.

Apple JDK 1.6 download: http://support.apple.com/kb/DL1572?viewlocale=en_US&locale=en_US (if this link doesn't open in Safari, please try Firefox or Chrome). Make sure to uninstall the old version first (if you have any).

Modifying Info.plist will break the application digital signature and prevent the patch updates. We do not recommend modifying Info.plist file to run under JDK 1.7 or 1.8. The recommended way of overriding JDK version via idea.properties file can be found here.

Current JDK 1.7 and 1.8 versions have several critical issues. We can't default to the new JDK version until these issues are resolved. Please check the list of the known issues below:

Issues marked as [fixed] above are fixed only in the custom JDK 1.8 builds provided by JetBrains and bundled with some versions of the products (mostly EAP builds at the moment). We plan to bundle it with all the products eventually.

 

102 comments

Just attempted to upgrade to RM 8 on El Capitan and RM won't open. mine . results in:

LSOpenURLsWithRole() failed with error -10810 for the file /Applications/RubyMine.app.

Updating the JVM version in Info.plist makes no difference. I have java 1.6 installed, which was what corrected this issue after updating to El Capitan originally.

Interestingly, I can open RM by double clicking RM from the installer, just not from the Applications directory.

0

Just tried reverting back to RM 7. Installing RM 7 or 8 with the bundled jdk, the application fails to start, but going back to RM 7.1.4 without the bundled jdk works.

0

It seems that as of the latest version upgrade announcement, the bundled jdk versions are the default. This isn't too surprising since the issues listed on this page seem to be fixed.

0

Have you reported those Java issues upstream/submitted the patches ?

0

Guillaume DIDIER - No, other than this support forum, I'm not sure where else to report it.

I mentioned it in this ticket, since it seemed related, but it sounds like the issues here were fixed for versions prior to El Capitan and I should create a new ticket.

0

Danny Anderson, I was asking if Jetbrains had reported the bugs in the article upstream. Sorry for the confusion.

0

No problem. This is the first time I've had an issue that I needed to report, so I'm not totally clear on the process. Thanks for clarifying.

0

I am seeing an issue with IntelliJ IDEA 14 and 15 on OS X 10.11.2 (El Capitan). I had only the JDK 7 installed.

Steps that did not work:
* I tried modifying the Info.plist (yes I know that invalidates the CodeSignature) to remove the "1.6+,"
* I tried reinstalling the latest IntelliJ IDEA versions of 14 and 15. Launching 15 worked once, but once I updated some plugins and restarted, I was stuck in the "Java not found" error loop again.

I eventually removed ALL versions of JDK from my system, reinstalled the latest JDK 7, 8. Then, only after installing the linked version of 6 https://support.apple.com/kb/DL1572, did IntelliJ IDEA work.

My active Java version is not 6:
$ java -version
java version "1.8.0_66"
Java(TM) SE Runtime Environment (build 1.8.0_66-b17)
Java HotSpot(TM) 64-Bit Server VM (build 25.66-b17, mixed mode)

0

I'm having the same issue with El Capitan and RubymMine 8.0. I can run RubyMine from the installer window, however, I cannot run it after installing. I removed the app, downloaded and installed again. I tailed the system log file when starting the installed app and see the following errors:

Jan 5 15:17:33 MacBook-Pro rubymine[3344]: Value of RUBYMINE_JDK: (null)
Jan 5 15:17:33 MacBook-Pro rubymine[3344]: Cannot load JVM bundle: Error Domain=NSCocoaErrorDomain Code=3585 "dlopen_preflight(/Applications/RubyMine.app/Contents/jre/jdk/Contents/MacOS/libjli.dylib): no suitable image found. Did find:
/Applications/RubyMine.app/Contents/jre/jdk/Contents/MacOS/libjli.dylib: mach-o, but wrong architecture" UserInfo={NSLocalizedRecoverySuggestion=Try installing a universal version of the bundle., NSFilePath=/Applications/RubyMine.app/Contents/jre/jdk/Contents/MacOS/libjli.dylib, NSLocalizedFailureReason=The bundle doesn’t contain a version for the current architecture., NSLocalizedDescription=The bundle “OpenJDK 8” couldn’t be loaded because it doesn’t contain a version for the current architecture., NSDebugDescription=dlopen_preflight(/Applications/RubyMine.app/Contents/jre/jdk/Contents/MacOS/libjli.dylib): no suitable image found. Did find:
/Applications/RubyMine.app/Contents/jre/jdk/Contents/MacOS/libjli.dylib: mach-o, but wrong architecture, NSBundlePath=/Applications/RubyMine.app/Contents/jre/jdk}

Here is the version of java I'm running local (although it looks like it is trying to run an internal version of java)
MacBook-Pro:log xxx$ java -version
java version "1.6.0_65"
Java(TM) SE Runtime Environment (build 1.6.0_65-b14-468-11M4833)
Java HotSpot(TM) 64-Bit Server VM (build 20.65-b04-468, mixed mode)

0

Webstorm 11.0.3 with bundled JDK doesn't start on OS 10.11.3.   I tried installing JDK 1.6 from Apple support and it still doesn't work.  I have not modified the plist file.  What am I missing?

 

EDIT: restarting OS X fixed it.

Edited by Mukund Rajamannar
0

Please sign in to leave a comment.

Have more questions?

Submit a request