2 Replies Last post: Mar 17, 2009 12:29 AM by Kay Johansen  
Kay Johansen Newbie 7 posts since
Mar 10, 2009
Currently Being Moderated

Mar 16, 2009 9:45 PM

Error highlighting is flagging my Java types "cannot resolve symbol" even tho compile & run works

I'm trying to use IDEA 8.1 on Windows 7. I have JDK 1.6.0_12 at C:\Program Files\Java\jdk1.6.0_12. I'm running this on Parallels which I suspect *may* be the problem, but I really have no idea.

 

When I use a Java type (such as String) the type is highlighted in red and the error highlighting says "Cannot resolve symbol String". But I can compile and run just fine from within IDEA.

 

When I go to the settings and change the JDK, for example to "no jdk" then back to "1.6", the indexing dialog pops up briefly and appears to be reading from C:\Program Files\Java\jdk1.6.0_12\......  But the error highlighting persists.

 

I wondered if anyone has gotten 8.1 working on Windows 7 Beta? If no one has had this issue I guess my conclusion is that I can't use it on Parallels. My next step is to try IDEA 7 if I can find a download for it.

 

-Kay

Dmitry Jemerov JetBrains 11,338 posts since
Aug 19, 2002

Hello Kay,

 

Parallels should not be an issue. Make sure that you have the module JDK

set up correctly (so that it inherits the project JDK settings).

 

I'm trying to use IDEA 8.1 on Windows 7. I have JDK 1.6.0_12 at

C:\Program Files\Java\jdk1.6.0_12. I'm running this on Parallels which

I suspect may be the problem, but I really have no idea.

 

When I use a Java type (such as String) the type is highlighted in red

and the error highlighting says "Cannot resolve symbol String". But I

can compile and run just fine from within IDEA.

 

When I go to the settings and change the JDK, for example to "no jdk"

then back to "1.6", the indexing dialog pops up briefly and appears to

be reading from C:\Program Files\Java\jdk1.6.0_12\......  But the

error highlighting persists.

 

I wondered if anyone has gotten 8.1 working on Windows 7 Beta? If no

one has had this issue I guess my conclusion is that I can't use it on

Parallels. My next step is to try IDEA 7 if I can find a download for

it.

 

-Kay

 

---

Original message URL:

http://www.jetbrains.net/devnet/message/5233822#5233822

--

Dmitry Jemerov

Development Lead

JetBrains, Inc.

http://www.jetbrains.com/

"Develop with Pleasure!"

 

 

 

More Like This

  • Retrieving data ...