|Eclipse Indigo with JDK 1.7 [message #717567]
||Sun, 21 August 2011 12:13
Registered: August 2011
Is Eclipse Indigo supposed to be able to use Java 1.7?|
Yesterday, I uninstalled Eclipse Indigo. I then installed the new Java 1.7 (specificall, jdk-7-windows-x64.exe) on my 64-bit Windows 7 computer. I adjusted my path environment variable so it points to the new jdk 1.7. My regedit now shows Java 1.7 to be the current version of Java.
I then re-installed Eclipse Indigo. In Eclipse, when I go to Window/Preferences/Java/Compiler, the Compiler Compliance Level drop-down shows options 1.3, 1.4, 1.5, and 1.6, but not 1.7. If I compile a program with a string for a switch control expression (a new feature in Java 1.7), I get a compilation error.
When I use a different IDE (TextPad), I can compile and run my Java 1.7 program (the one with a string for a switch control expression).
I load Eclipse (successfully) using the command:
C:\eclipse\eclipse.exe -vm "c:\Program Files\Java\jdk1.7.0\bin\javaw" -vmargs -Xmx256M
1. Is Eclipse Indigo supposed to be able to use Java 1.7?
2. If yes, how can I get Eclipse to use Java 1.7?
3. If no, when will Eclipse be able to use java 1.7?
Powered by FUDForum
. Page generated in 0.17076 seconds