I'm getting this error when trying to run the 64 bit IntelliJ 11.1.1.

It says to Please define IDEA_JDK to point to an installed 64 bit JDK or JRE. Well I think I have done this but I still get the exact same message.

In my Windows 7 environment variables: C:\Program Files (x86)\Java\jre6

I then try starting up 64 bit IntelliJ and I get that same message.

What's wrong?

1 comment

Since you are trying to start the 64-bit version of IDEA, you need to use a 64-bit JRE or JDK. The one in C:\Program Files (x86) is a 32-bit JRE. If you've installed the 64-bit JRE it will be in C:\Program Files\Java\jre6 (notice no "(x86)" in the path). Set IDEA_JDK to that (or alternatively to the root of a 64-bit JDK installation.)

Alternatively, launch the 32-bit version of IDEA with your current configuration.