Glassfish eclipse Plugin with jdk 8

本小妞迷上赌 提交于 2019-12-23 12:33:39

问题


Im trying to launch glassfish-4 using glassfish-eclipse-plugin. Unfortunately it does not seem to recognize the JDK-8 Release candidate i just installed (The "Finish" button stays disabled).

Finish button will be enabled if i select a java 7 jdk

Is there any options to work around this?


回答1:


Now Lambda support works "out-of-the-box" if using below combination of software

Oracle JDK 8

http://www.oracle.com/technetwork/java/javase/downloads/index.html

Glassfish from 4.01 branch

http://dlc.sun.com.edgesuite.net/glassfish/4.0.1/nightly/latest-glassfish.zip

Eclipse 4.4 Luna

http://www.eclipse.org/downloads/ (pick the java ee package)




回答2:


I had the same problem getting Eclipse Luna and Glassfish to play nicely. I scrapped everything, re-download and installed eclipse-jee-luna-R-win32-x86_64. And then upon creating a new dyanmic web app in Eclipse I had install a new extension for the server runtime environment. That extension was the GlassFish Tools extension from Oracle v7.2.1.2014071142. An Internet connection was required in order for Eclipse to find this. And Voila! So far, so good. Your mileage might vary.



来源:https://stackoverflow.com/questions/22416098/glassfish-eclipse-plugin-with-jdk-8

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!