用于Eclipse Luna SR2的Glassfish工具插件无法正常工作 [英] Glassfish Tools plugin for Eclipse Luna SR2 not working

查看:114
本文介绍了用于Eclipse Luna SR2的Glassfish工具插件无法正常工作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我总是使用 Eclipse Marketplace 安装 Glassfish工具,或者只是在Eclipse Servers > New > Server中下载其他适配器.

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

由于某种原因,当从Eclipse Luna SR1迁移到SR2时,新插件未安装适配器(新服务器"窗口未显示Glassfish作为选项),并且尝试手动下载Glassfish适配器,单击Download additional server adapters...,将不显示Glassfish适配器.

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.

此版本中是否存在任何错误? Oracle中发生了某些变化,导致插件不可用?

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

推荐答案

请确保您正在使用Java 8运行Eclipse.最新版的GF Tools for Eclipse需要运行Java 8.如果需要,您仍然可以使用Java的早期版本来编译项目.

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.

要检查您正在运行的Java版本,请转到帮助"->关于"->安装详细信息"->配置".

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

要强制Eclipse使用特定的JRE安装,请编辑eclipse.ini文件,并在文件开头添加以下两行:

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]

这篇关于用于Eclipse Luna SR2的Glassfish工具插件无法正常工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆