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:
- [could be solved with a third-party utility] Always enabled discrete GPU which drains battery for laptop users
- [fixed for black font on light background] Broken subpixel antialiasing
- [fixed] Mac OS X keyboard shortcuts with alt don't work under Oracle Java 7
- [fixed] Crash when navigate to class with java 7
- [fixed] IDE hangs during startup
- [fixed] Frequent crashes
- [fixed] Crash after a few hours of work
- [fixed but should be verified by the user] Crash with EXC_BAD_ACCESS (SIGABRT)
- [fixed] Crash on system sleep
- [obsolete] Crash on JDK 1.8.0_25
- [not reproducible] Native crash after several days of work
- [should be fixed even in Oracle jdk7] Cannot retrieve host name issue
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.
Please sign in to leave a comment.
@Bpappin: Wait, seriously!? This flies in the face of what JetBrains has always said...
Can someone from JetBrains please comment? What are the risks with this?
These issues are also major obstacles to upgrading to JDK7 or 8 for me
https://youtrack.jetbrains.com/issue/IDEA-116140 - Structure popup appears behind the main windows on Mac secondary display
https://youtrack.jetbrains.com/issue/IDEA-111782 - Dragging text in the editor sometimes duplicates it instead of moving it under Mac OS X / Oracle Java 7
Wow, you can't even log into the OpenJDK Jira to vote on or watch these critical issues.
"Everyone with OpenJDK Author status or above has a JBS account which may be used to create and edit bugs. Those without accounts can view bugs anonymously."
https://bugs.openjdk.java.net/browse/JDK-8023794 - appears to be under review for Java 9. Jetbrains trying to get Oracle to patch into JDK 8.
https://bugs.openjdk.java.net/browse/JDK-8047288 - fixed in JDK 8u40 due in Jan 2015, there is a patched JDK 8u25 available (https://youtrack.jetbrains.com/issue/IDEA-117416)
https://youtrack.jetbrains.com/issue/IDEA-111466 - appears to have an attempted fix, but not sure that it is working for everyone?
https://bugs.openjdk.java.net/browse/JDK-8057830 - under review for JDK 8u40 due in Jan 2015
https://bugs.openjdk.java.net/browse/JDK-8054211 - planned for Java 9, does not appear to be actively worked
https://youtrack.jetbrains.com/issue/IDEA-129634 - Blamed on JVM but no linked OpenJDK issue.
https://youtrack.jetbrains.com/issue/IDEA-128481 - Blamed on JVM but no linked OpenJDK issue.
https://youtrack.jetbrains.com/issue/IDEA-131767 - Fixed in Java 9, no link to OpenJDK issue.
https://youtrack.jetbrains.com/issue/IDEA-127234 - marked duplicate of https://youtrack.jetbrains.com/issue/IDEA-127574 which is an OpenJDK issue that is planned for Java 9. Issue left open even after being marked duplicate.
https://youtrack.jetbrains.com/issue/IDEA-131622 - no associated OpenJDK issue, only the advice to use JDK 6. Issue left open.
Just downloaded the ultimate 30-trial. I'm running Mac OS X 10.10. Have Java 8 installed. The links to acquire Java 6 referenced in this Known Issue result in blank pages. I'm sure this is a great productivity tool but not so much right now. I look forward to exploring it when it is up and running.
This link is working for me (yesterday and verified just now): http://support.apple.com/kb/DL1572
You may be able to download directly via: http://support.apple.com/downloads/DL1572/en_US/JavaForOSX2014-001.dmg
With Java 1.6, I'm a lot of issues when closing projects, when using multiple projects in full screen -- only affects when ALL projects are full screen. PhpStorm will wig-out going into a bit of a half-state of full screen and not... it takes up the full desktop, acting like full screen, but isn't full screen, and totally impossible to edit or work in. Only option is to quit with cmd-Q
Funny thing, http://support.apple.com/kb/DL1572 does not open in Safari but works fine in Firefox.
Same problem, for me it was not solved changing the java version in Info.plist.
open -a /Applications/IntelliJ\ IDEA\ 14.app
LSOpenURLsWithRole() failed for the application /Applications/IntelliJ IDEA 14.app with error -10810.
I solved the problem by removing IDEA14 from Application, then remove all the old files http://stackoverflow.com/a/2774369/2002926
rm -rf ~/Library/Preferences/IntelliJIdea14
rm -rf ~/Library/Caches/IntelliJIdea14
rm -rf ~/Library/Application\ Support/IntelliJIdea14
rm -rf ~/Library/Saved\ Application\ State/com.jetbrains.intellij.savedState
And installed IDEA14 again.
Worked for me!
Not being able to use PyCharm because I don't have an unsupported version of Java installed is lame. What happened to the PyCharm that included the JRE? It was in the later EAP packages.
I have the opposite problem. I want to run IDEA on Mac OS X Yosemite (10.10.1), but I need JDK 8 installed for other purposes. So that means I need to install Apple JDK 1.6 (done). But now how do I tell IDEA to use that version of Java? The JVMVersion key in Info.plist is "1.6+" so it continues to use Java 8. Setting the IDEA_JDK variable to /System/Library/Frameworks/JavaVM.framework/Home causes an error dialog about my Java version being obsolete and asking if I'd like to update it. IDEA does not run.
If I set the JVMVersion to 1.6* in Info.plist, it runs under Java 6. But that's not a recommended approach, right? So what is?
after 1 month of working with Yosemite and get too many issues with Java tools problems like PhpStorm and WebStorm. and even other products i decided to rollback to Mavericks (10.9.5).
after rollback all back to work well with 50% memory usage and full development speed i used to work with. except of Java issues, Yosemite has too many small issues that us, developers, encounter all the time.
@Cap10morgan I don't see a problem with specifying JVMVersion 1.6*. It works because it limits the JVM to 1.6something, which means the installed Apple JVM. If it works for you, use it.
@Pbw One problem, possibly among others, is that–according to JetBrains support–it breaks app updates. They specifically recommend not doing it, so I'm asking, what do they recommend instead?
You could download the bundled JDK using the URL http://download-cf.jetbrains.com/idea/ideaIU-14-jdk-bundled.dmg.
But remember that you do so at your own risk (it's not supported).
My 14 CE EAP version was reporting 222.5 in About. and saying that an upgrade was available to 225. My Info.plist had been set to "1.6*", but I reset it to "1.6+" for this exercise.
I downloaded the update, opened the DMG file, and dragged to Applications. "There is an older version..." Replace. I then killed off the IntelliJ 14 process (should have done it first) and then started the app again. Still reporting 222.5. I trashed the app, then re-installed the update I had just downloaded. I had to start it from finder with a right-click, Open, Ok sequence, but it opened Ok and reported 139.225, running on JRE 1.6.0_65.
From a terminal, 'java -version' reports
java version "1.8.0_25"
The app Info.plist file has "1.6+" so it seems that you can install Java 8, and IntelliJ 14 CE EAP will run on the Apple 1.60 if it finds it.
@Intellij Then what is supported? I want to run a supported Java 1.6 configuration. How can I do that?
Having the same issue on Mac OS 10.10 - don't want to install a legacy Java JDK...Have 1.8.0_25
Life is too short to have to jump thru so many hoops :)
I hope it gets done (update to Jbefore my trial period runs out.
Have subscribed to this post for updates!
http://support.apple.com/kb/DL1572 does not open with firefox, chrome, or safari. My phpStorm is not working - and it's not like I can wait to figure this out so resorting to using other IDE.
@Nada, we've verified that this link still works fine. If you can't access it for some reason, please try this PhpStorm 8.0.2 build with bundled JDK 8, it doesn't have any external dependencies: http://download.jetbrains.com/webide/PhpStorm-EAP-139.659-custom-jdk-bundled.dmg .
nope - the link is not working for me. As everything else is working on the net, I assume it's the site.
Will try the bundled link. Thank you.
<< done. Thank you - the bundled JDK works fine!
Perhaps this is the future as a transparent replacement for the jdk http://vmkit.llvm.org/index.html
http://www.wikiwand.com/en/Comparison_of_Java_virtual_machines
I disagree with that comment. I always modify Info.plist and change 1.6* to 1.8* and am running IntelliJ and PyCharm with success for over an year now. Even CLion (seems to) work fine.
Downgrading to 1.6 is not an option as my company's security team has banned obsolete versions from all machines (no exceptions).
In /Applications/Webstorm.app/Contents/Info.plist -
<key>JVMVersion</key>
<string>1.6+</string>
Tried to run -
codesign -f -s - "/Applications/WebStorm.app"
Got
/Applications/WebStorm.app: replacing existing signature
/Applications/WebStorm.app: unsealed contents present in the bundle root
Webstorm won't start, screenshot attached. w/o Webstorm I'm dead in the water @ work tomorrow.
Patrick, why do you need to run under a different JDK version? What problems do you have with 1.6? Can you just revert back to the default Info.plist and make sure you have the latest 1.6 JDK update installed on the system?
Please submit a support ticket so that our engineers can help you. It would be more convenient and all the users who responded here will not receive the notifications about the updates they may be not interested in.
Modifying Info.plist will break application signature, it's expected. We've implemented another way to specify JDK version recently, check this comment. See also this document if you can't find idea.properties file for your product.
If it still doesn't start, submit a ticket to support, but the recommended solution is to install JDK 1.6.
Just upgraded to Yosemite and bumped into this issue. Can someone please clarify: if I downgrade to Java SE 6 using the suggested link (http://support.apple.com/kb/DL1572), does the built-in Java version 1.8 become useless? Is there any way to install Java SE 6 in my home directory and have WebStorm use it, without affecting any of Yosemite's standard setup?
Thanks in advance for your time.
Hi Naresh,
I've just done an upgrade to Yosemite (directly to 10.10.1), and I was told that my version of Java was obsolete, and I was directed to the location of the 2014-001 Java6 download. This was in fact already installed. I went ahead and installed it, and then I went to the Oracle JDK 8 download site, downloaded and re-installed JDK 8. I have taken this basic approach on previous occasions when OS X Java6 was updated. For all intents and purposes, JDK 8 is installed, but those applications like IntelliJ which want J6 can find it.
Afterwards:
$ /usr/libexec/java_home
/Library/Java/JavaVirtualMachines/jdk1.8.0_25.jdk/Contents/Home
I am running into this problem as well. Things used to work fine and now they don't. I am not sure if I changed the OS to Yosemite or grabbed a newer Java but I get the same message about needing the old java.
+1 For Vermicida's fix Yosemite, Java 8 "This worked for me: edit the WebStorm Info.plist document, which is located in /Application/WebStorm.app/Content. Replace the value of the key JVMVersion from 1.6* to 1.8*. Save the file and try to start WebStorm again."
The EAP version with JDK Bundled will not allow me to Activate my license using my Jet Brains Account. I get this error: "JetProfile connection error: SSLHandshakeException: java.security.cert.CertificationException: java.security.SignatureException: Signature length not correct: got 256 but was expecting 512"
It works fine in Demo mode. I've tried this on my old machine and I had to go through this procedure. Download Java 6, Download PHPStorm 8.02, open once and activate with JetBrains account. After doing this, then I can Activate my EAP version. However on my new machine I'd rather avoid installing Java 6.
Is JetBrains aware of the licensing problem with the EAP version? Anyone else have the problem?