2014/06/26 è¿½è¨ Java 8対å¿ã®Eclipse 4.4 Lunaããªãªã¼ã¹ããã¦ãã¾ãã
Eclipse Downloads: Eclipse Kepler (4.3.2) SR2 with Java 8 Patches ã¨ãããã¼ã¸ã«Eclipse 4.3.2 SR2ã«Java 8ç¨ã®ããããå½ã¦ãæ¹æ³ãæ²è¼ããã¦ããããããã¯ããã®ããããå½ã¦ãããç¶æ ã®Eclipse Standard 4.3.2ããã¦ã³ãã¼ãå¯è½ã«ãªã£ã¦ããã
ã¨ããããã§ãEclipse Kepler(4.3.2) for Java EE Developers 4.3.2 SR2ã«å®éã«ããããå½ã¦ã¦ã¿ãã
ç°å¢
- Java SE Development Kit 7u60
- Java SE Development Kit 8u5
- Eclipse Kepler(4.3.2) SR2 IDE for Java EE Developers
ãã£ããã¨
äºåæºåã¨ãã¦ãEclipseã¨JDK 8ã®ãã¦ã³ãã¼ãããã¦ããããªãã俺ã®å ´åã¯å®å ¨çãåã£ã¦ãæåã®Eclipseã®èµ·åã¯JDK 7ã§ãã£ããæåãã8ã§ãèµ·åããã®ãã©ããã¯ç¥ããªãã
Eclipseãèµ·åããããHelp -> Eclipse Marketplace ãé¸æãããæ¤ç´¢çªã«Java 8 Kepler
ã¨å
¥åãã¦å®è¡ããã
Java 8 support for Eclipse Kepler SR2ãã¤ã³ã¹ãã¼ã«ããã
ãªãå¿ è¦ã§ããã°ä¸è¨ãå ¥ãããã¨ããããã©ã ãå¼ã¨ãã ã試ãããã®ã§ããã°ä¸è¦ã
- JavaEEç¨ã«ãJava 8 Facet for Web Tools for Eclipse Kepler SR2
- Mavenãã©ã°ã¤ã³ç¨ã«ãJava 8 support for m2e for Eclipse Kepler
ãã¨ã¯ç»é¢ã®æ示ã«å¾ã£ã¦ã¤ã³ã¹ãã¼ã«æé ãé²ãã¦ããã
åèµ·åãè¦æ±ãããã®ã§ãä¸æ¦Eclipseãçµäºãããã
eclipse.iniãç·¨éãã¦JDK8ãè¦ã«è¡ãããã«ããã
-startup plugins/org.eclipse.equinox.launcher_1.3.0.v20130327-1440.jar --launcher.library plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.200.v20140116-2212 -product org.eclipse.epp.package.jee.product --launcher.defaultAction openFile --launcher.XXMaxPermSize 256M -vm C:/Java/jdk1.8.0_05/bin/javaw.exe -showsplash org.eclipse.platform --launcher.XXMaxPermSize 256m --launcher.defaultAction openFile --launcher.appendVmargs -vmargs -Dosgi.requiredJavaVersion=1.6 -Xms40m -Xmx512m
åãã¾ããã
ä¸è¨ãã£ããã£ã§ãCtrl + 1ã®Quick Fixã§ç¡åã¯ã©ã¹ãã©ã ãå¼ã«å¤æãã¦ã®ããã½ã§ãããã