JSE 6.0 on OSX, IDEA 7.0.3 code-sensing busted

Everything worked fine under the the Apple Java 6 DP, but running IDEA under JSE 5. Now that I updated the JDK used for projects and also upped the version used by IDEA itself, I got a huge lack of code-sensing. It's not realizing when it needs to add new imports (no highlights, just only sometimes shows red, that it sees an error, but not that it can just add an import to fix it).

Will provide more details if no one knows of this, has a fix, or is experiencing the same thing.

Edited by: Colin Madere on May 28, 2008 6:33 PM

5 comments
Comment actions Permalink

Is anyone using the Apple-released Java 6 for 64-bit Intel OS X machines with IDEA 7.0.3?

If it's working fine for you, please let me know so I can go dig for how I might have broken it.

0
Comment actions Permalink

Hello Colin,

Is anyone using the Apple-released Java 6 for 64-bit Intel OS X
machines with IDEA 7.0.3?

If it's working fine for you, please let me know so I can go dig for
how I might have broken it.


The Apple Java 6 is not a supported configuration for IDEA 7.0.x. In fact
IDEA 7.0.4 will force running under the 1.5 JVM.

--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"


0
Comment actions Permalink

I get the same results when forcing 1.5 (editing Plist with Java version "1.5" instead of "1.5+").

When I was running under "1.5" (5.0) and using the Apple Java 6 beta release for my project JDK (I do all Java 6.0 work), I did NOT have this problem. When I switched to the Apple Java 6.0 release version, this started. I originally thought it was maybe because I was running the IDE with Java 6 instead of Java 5, but changing that doesn't seem to have any affect.

Are you saying there is a specific identified problem related to this issue when running the IDE under Apple's Java 6, or are you just noting the requirement?

Separately, is there a known issue when using Apple's release version of Java 6 as a JDK for projects within IDEA?

0
Comment actions Permalink

To be sure to isolate, I did the following:

1) Download 7.0.3 OS X IDEA release
2) Edit package Info.plist setting Java version to "1.5" to be sure it does not run in Java 6
3) Deleted/renamed ~/Library/Preferences/IntelliJIDEA70 folder
4) Launch newly downloaded binary
5) Preferences -> Project Settings : Add new project JDK (since there are none by default) and selecting the "1.6" folder.
6) Create new project, new main java file, add some class reference that needs an import statement, get no introspection or ability to hit control key combo to auto-add needed import statement. No red lines showing a compilation problem prior to actually compiling.

This is on a 64-bit Intel Mac Pro with OS X 10.5.2, previously with Java 6 beta for 64-bit Intel OS X, downloaded and updated to Java 6 release (which in-turn removed the beta, unfortunately).

0
Comment actions Permalink

Downloaded Diana EAP #8418 (w/o editing Info.plist to force Java 5) and it works fine. Opened the project created by the clean 7.0.3 which does not code-sense and it works fine in Diana. Can now again do the ctrl-enter to auto-add imports and the like.

I should note that 7.0 versions prior to 7.0.3 did work for me at one time, and I may be misremembering that they stopped when I updated to the release version of Apple's Java 6. It may be that I did that at the same time as updating to 7.0.3 from 7.0.2.

Don't see a link to previous 7.0.x releases to try them...

0

Please sign in to leave a comment.