简体   繁体   English

将JBoss Server运行时环境添加到Eclipse Mars

[英]Add JBoss Server Runtime Environment to Eclipse Mars

I try to add the my JBoss AS 7.1 "Server Runtime Environment" to my new installed eclipse mars. 我尝试将JBoss AS 7.1“服务器运行时环境”添加到新安装的Eclipse火星中。

But under Server > Runtime Environment there is no Jboss server to select! 但是在Server> Runtime Environment下,没有Jboss服务器可供选择! Also in "Download additional server adapters" is no jboss to choose... 同样在“下载其他服务器适配器”中没有jboss可以选择...

没有jboss的新服务器运行时环境

I already installed the JBoss Tools 4.3.0.Beta2 but with no effect. 我已经安装了JBoss Tools 4.3.0.Beta2,但是没有任何效果。

Do i something wrong or is there a bug in eclipse? 我有什么问题吗?还是日食有bug?

My eclipse version: 我的日食版本:

Eclipse Java EE IDE for Web Developers. 用于Web开发人员的Eclipse Java EE IDE。 Version: Mars Release (4.5.0) Build id: 20150621-1200 版本:Mars Release(4.5.0)内部版本:20150621-1200

You need to make sure that you are using JDK 1.8 with your Eclipse. 您需要确保将JDK 1.8与Eclipse一起使用。 This is because JBOSS Tools 4.3.0 Beta 2 needs a JDK version of at least 1.8 to work. 这是因为JBOSS Tools 4.3.0 Beta 2需要至少1.8的JDK版本才能工作。

For anyone who would encounter the same problem: Make sure to have JDK 1.8 对于任何会遇到相同问题的人:确保拥有JDK 1.8

Open Eclipse > Window > Preferences > Java > Installed JREs (Use JRE 1.8) 打开Eclipse>窗口>首选项> Java>已安装的JRE(使用JRE 1.8)

Then proceed to Window > Preferences > Server > Runtime Environments > Add 然后转到窗口>首选项>服务器>运行时环境>添加

There you can see the other runtime environment appears :) 在那里,您可以看到其他运行时环境:)

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM