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.
tried Vermicida's fix and it seems to have worked.
Serge, any updates on this? It's been an issue for over a year and using an outdated, insecure, unpatched JVM is not a long term solution. Please address this issue and create a launcher for all of your products that will use any installed JVM.
Gshankman, we decided to use JDK 1.6 by default for now, until the issues mentioned in this document are resolved. Apple still updates this JDK, 1.6.0_65 version was released not too long ago. As this JDK provides the best experience with our products, it will be used by default. As soon as JDK 1.8 critical issues are resolved, we'll switch to the new version.
Oracle has unveiled a plan to end support for Java 7.
Developers and users are advised to begin the transition to Java SE 8
https://blogs.oracle.com/java/entry/java_se_8_on_java
Noteworthy comment from Henrik Stahl when he was notified about the list above:
Ted - Your link is an old list of bugs that affect IntelliJ. This is a very mixed list. Some of these have been fixed, some are in progress (such as the subpixel aliasing one), others are due to quirks in the Apple JDK that was not part of the Java specification (keyboard shortcuts) that IntelliJ must work around, etc. Putting the blame on Oracle for all of these is incorrect and hardly fair, especially given that the JDK for OS X is a free/gratis product. We work off our bug backlog in priority order, and since this is OpenJDK the discussion on the issues and the fixes as well as the priority calls are openly available. And of course, if you urgently need something fixed, join OpenJDK and contribute, or persuade IntelliJ to do so. Cheers!
We don't blame Oracle in any way. Indeed, some bugs are already fixed in Java 9. For other bugs our developers are working together with Oracle to speed up a fix or provide a workaround. We are contributing patches to OpenJDK, etc. It doesn't change the fact that at the moment Java 6 provides the best experience with our products on OS X. As soon as we feel that Java 8 can be used without major problems, we'll switch to it.
As of now, java 6 does *not* provide the best experience.
I was finally forced to update, and had to hack WebStorm to run on java 8.
So far I have not had a single problem except that WebStorm was so out of date.
In a way, I agree with Bpappin. On 1.8, PhpStorm feels much better. *However, the font issue was a deal breaker. I tried to deal with it, but the text was just illegible in some areas... As a result, I was forced to drop back to 1.6. If subpixel font rendering is fixed in 1.9 - sign me up! That is honestly the only issue I ran into (so far) that's holding me (personally) back...
gp, I'm not seeing any font issues. Can you tell me where you are seeing them? I'm interested in seeing if I can reproduce your issue.
Side-by-side comparison. 1.6* vs 1.8* using OSX 1.6 vs Oracle 1.8.
I should note: the upload, and image compression, is actually making 1.8 look better. It's very pixelated on my screen natively. ;)
GP: do you get that if you switch back to the default scheme (Preferences -> Colors & Fonts)?
I'm sort of seeing a little blurriness around the edges, but I had to look so closely that I didn't notice until then.
(btw, I'm in Canada, why is "colour" spelled "color"?)
Yes, but it's not as noticeable. However, that hurts the eyes now. ;)
The blurring in the first picture is harsher than it actually is on screen.
I just had a revelation: it appears to be a monitor calibration issue? On my MBPro Screen, the fonts actually look fine. On my external, an LG 22", fonts look un-aliased.
GP, I'm not seeing the same issue, although I do see that the anti-aliasing is much heavier in WebStorm than in Eclipse.
For some reason its more obvious for you than me, so I can live with it :)
iI you "save as" you can edit the theme to try another font, but I suspect that not going to work, since it's the anti-alias thats causing the problem and they have not allowed you to change that property.
Anyway, i've attached an example so you can see what I see. The image is pretty much exactly what I'm seeing on my screen.
Not sure if it makes any difference, but I'm running a late 2011 MacbookPro with Yosemite and a Thunderbolt display.
Ahh, that is interesting! Could it be a resolution issue?
I mean, it still shouldn't happen, but maybe thats why it looks ok to me.
Not sure. But I'm not the only one: https://discussions.apple.com/thread/6623258
My only guess is Apple may have fixed something within the JVM to resolve font rendering issues on external monitors with third party applications? I do know I don't see this font issue with other OSX apps. Just PhpStorm (which also happens to be the only java app I use).
I don't like that Apple pulls herself with a blanket and gives users a leaky Java 6 with most of the vulnerabilities that it is not possible to fix without changing major release. In JDK9 and the latest build of Java 8 added flags for deduplication resource consumption and the new garbage collector that reduces impact and resource consumption of the IDE. In Java6 Apple still felt the problem with the race threads and memory lock and regression problems IPC in a multi-core CPU.
GPU: http://hg.netbeans.org/jet-main/rev/3fc92063f8bc
Font http://hg.netbeans.org/jet-main/rev/1308aa7e0d17 and http://hg.netbeans.org/jet-main/rev/e1537b6b28f7
Opening one project, all good!
Opening a second project.... phpstorm crash!
Oh my.....
After upgrading to Yosemite, the OS re-installed Java (1.6.0_65) and things work mostly fine. Mostly, since I did get a Java crash (in ant, outside of JetBrains), so I filed a bug with Apple, and they responded that Java is no longer supported. They still install it for you-- and a newer version, even-- but it appears to crash more often and they don't support it.
Long story short, JetBrains needs to update their Java version and OS X installation strategy fast, because that's about as big a hint as Apple gives that OS X 10.11 will make it really hard to run Java 6. And with Oracle discontinuing Java 7 at about the same time, we need a version that targets Java 8.
I noticed that JDK9 has less regressive than JDK8 for Yosemite. The problem is in the font, java.prefpane still looks intimidating at Oracle...
http://download.java.net/openjdk/testresults/6/testresults.html
http://download.java.net/openjdk/testresults/7/testresults.html
http://download.java.net/openjdk/testresults/8/testresults.html
http://download.java.net/openjdk/testresults/9/testresults.html
JDK9 Does not work copy/paste in JetBrains - PhpStorm
https://bugs.openjdk.java.net/browse/JDK-8058702
this page http://support.apple.com/kb/DL1572 throws me:
We're sorry.
We can't find the page you're looking for.
Please return to the Apple Support homepage.
Can someone please give me direct download link to 1.6 ?
PLEASE !
Bpappin, how did you hack in JDK 8?
...disregard, reinstalling JDK 1.6 worked. Just going to go with that until JetBrains updates the default version.
I modified the Info.plist, by changing the 1.6* to 1.8* and it worked fine.
The note at the top of this post says it will prevent updates, however I have had at least one successful update since I made the adjustment.
I'm surprised after all this time this is STILL an issue. I'm going to have to switch out from using PyCharm unless this is fixed very soon. This could not have been a surprise as I'm sure JetBrains has access to beta version of Apple software. I'm not going to hack, modify or install an outdated, obsolete JDK in order to run the software.
After cleaning project caches this problem seems to have gone away. I'm not quite sure if it totally fixed it, but for now I'm out of the storm :-)
I changed the Info.plist to specify JDK 1.8* instead of 1.6* and it seems to work just fine. I agree with other posters, it's absurd to insist on a totally obsolete version of the JDK.