Problems following Java for Mac OS X 10.5 Update 2
Hi,
Since taking Apple's latest upgrade for Java, Idea will not load a project. It slowly grinds to a halt with "Scanning files.... Processing module ]]> library sources...."
I've gone into my Idea configuration file (/Applications/IntelliJ IDEA 7.0.4.app/Contents/Info.plist) and raised the max memory VMOption to 1024m, but that has not helped.
This is on a Macbook Pro with 4GB of RAM, with "java -version" returning:
java version "1.5.0_16"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_16-b06-284)
Java HotSpot(TM) Client VM (build 1.5.0_16-133, mixed mode, sharing)
Has anyone else experienced this, and what did you do about it?
Thanks in advance.
请先登录再写评论。
This is happening to me too, except it's stuck in some kind of loop and using 100% of one of the CPU's. I think we need to wait for a fix from JetBrains.
I've fixed the problem, although I have not determined what exactly happened.
Basically, I needed to completely wipe out my /Users/]]>/Library/Caches/IntelliJIDEAXX directory and allow IDEA to rebuild things from scratch. IDEA treated the missing cache folder somewhat like a re-install, in that I had to re-enter my user name, license key and re-establish some user preferences. I was then able to reopen my .ipr files, within which I had to create a new Project JDK, pointing at Apple's new Java version (1.5.0_16 in this case). Full source-code rebuilds got everything back in business from there.
Thanks to Serge Baranov with his assistance in this matter.
I experienced the same thing.
I think it is removing the ~/Library/Preferences/IntelliJIDEA70 directory that fixes this problem. At least that was the only thing that fixed this problem for me.
After removing this directory: when you start IntelliJ IDEA it acts like it was just installed and will successfully reopen my .ipr project file.
Edited by: Carl Watts on Sep 26, 2008 9:42 PM
Interestingly, I am still using IDEA 7.0.2, and after updating to Java Mac OS X 10.5 Update 2, I have not had any problems.
I guess the problem is with something introduced between the releases.
I'm using IntelliJ 7.0.4 on Mac OS X 10.5.5 with Update 2, but I haven't encountered any of these problems...
The only remaining problem I have with using IDEA 7.0.4 after installing the Java for Mac OS X 10.5 Update 2 is with proportional font display while using IDEA. I prefer using a proportional font in my text editors and have IDEA set to use Verdana. That worked fine up until installing the Java for Mac OS X 10.5 Update 2 but now while editing text in the IDEA editors the display of individual characters gets messed up so characters are often displayed incorrectly around the insertion point.
I tried switching to different Look & Feels within IDEA but that didn't solve the problem. I also tried the IDEA 8 beta but it also displays the problem.
The only way I've found to solve the problem is to set IDEA to use a monospaced font in the editors and to not use a custom Look & Feel font.
If anyone else is NOT seeing this problem using IDEA on their Mac or has seen the problem but found a way around it, it would be good to know.