Finally, after centuries of discussion and development, Java 7 is released! It doesn't really help me though, because I find it very hard to get a somewhat stable version of Eclipse which supports its new language features.
According to http://wiki.eclipse.org/JDT/Eclipse_Java_7_Support_%28BETA%29 I need to get a maintenance release of Eclipse. However, the version mentioned (M20110729-1400) I can't find anywhere, and this page doesn't mention any maintenance releases.
I also tried "Check for updates" in my existing 3.7 Eclipse but that just returns some updates for some plugins.
W开发者_运维知识库here can I get a workable version of Eclipse that supports Java 7?
(I'm not desperate for Java 7, and won't switch to another IDE for it)
(I tried Eclipse 3.8 M1, but that's such an early version, it even still has Indigo on the splash screen.)
(I love Eclipse, but their site/monster network needs some usability testing)
To the best of my knowledge, there isn't a stable Eclipse that supports Java 7...yet. It is slated for a 3.7.1 update (Indigo SR1). I haven't looked, but a milestone or nightly for Indigo SR1 would probably be more stable than a 3.8 milestone or nightly release. Unfortunatly, the download page doesn't appear to have a 3.7.1 build, unless the 3.7.x Stream Builds are for 3.7.1 (I'm not familiar enough with Eclipse's release strategy to know for sure).
EDIT: As of now, there are stable builds of 3.7.1 (thanks for Jason S for pointing this out). I have not tested it with Java 7 to confirm that everything works as expected, since I'm still targeting Java 6 at work and in my personal projects and have yet to upgrade.
I've found Eclipse 3.8 M1, Netbeans 7.0.1 and IntelliJ 10.5 to all work fine for me. Netbeans is probably my favourite to work with for Java 7 (their hints to help you convert code to Java 7 idioms are great).
精彩评论