How to run IDEA 12 Ultimate on Win 7?
I tried IDEA 12 today and got one problem. When I clicked idea64.exe, an error happened
System variables are as below:
Java version:
Then I tried "idea.bat" and got one exception:
Exception in thread "main" java.lang.UnsupportedClassVersionError: Bad version n
umber in .class file
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:12
4)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
Seems it's due to inconsistent Java version between IDEA and OS. Should I update JDK to 1.6 or higher? If I want to keep using 1.5, how could I do?
Please sign in to leave a comment.
first screen shot asks for IDEA_JDK_64 variable.
And your installed jdk is Java5, whereas IDEA requires Java 6.
IDEA usually comes with a suitable JRE bundled , did you try the idea.exe ?
Yes. I tried idea.exe and it worked.
Problem solved. Just add one system variable "IDEA_JDK_64" and set it as one 1.6+ JDK for 64 bits. IDEA 12 needs a JDK version higher than 1.5.
Check http://www.jetbrains.com/idea/download/system_requirements.jsp?os=win for details.