Glassfish Tools plugin for Eclipse Luna SR2 not working

不想你离开。 提交于 2019-12-25 05:32:07

问题


I always install Glassfish Tools using Eclipse Marketplace or just downloading additional adapters in Eclipse Servers > New > Server.

For some reason, when moving from Eclipse Luna SR1 to SR2, the new plugin doesn't install the adapter (the "New Server" window doesn't shows Glassfish as an option), and when trying to manually download the Glassfish adapter, clicking at Download additional server adapters..., the Glassfish adapter is not shown.

Is there any bug in this version? Something has changed in Oracle that the plugin is not available?


回答1:


Make sure that you are running Eclipse with Java 8. The latest version of GF Tools for Eclipse requires Java 8 to run. You can still compile your projects with an earlier version of Java, if that's necessary.

To check the version of Java that you are running, go to Help -> About -> Installation Details -> Configuration.

To force Eclipse to use a particular JRE install, edit eclipse.ini file and add the following two lines at the start of the file:

-vm
[path-to-jre]


来源:https://stackoverflow.com/questions/29309035/glassfish-tools-plugin-for-eclipse-luna-sr2-not-working

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