Adding glassfish Server in Eclipse Kepler error

怎甘沉沦 提交于 2019-12-04 04:46:46

问题


I am trying to add Glassfish-4 server to Eclipse in order to be able to run applications on this server, but at the final step in "new Server" wizard, finished or next buttons are disabled and a message says: to enable Install Server, enter a path to a new directory..

The Glassfish server is found on the given path.

I can't add images because I don't have reputation, but here are the links:

http://tinypic.com/view.php?pic=18yck1&s=5#.Umeq3vmnosY

http://tinypic.com/view.php?pic=13yezcm&s=5#.UmeqOPmnosY

Your help is apreciated.


回答1:


Probably a problem with your JDK... I think you have to download a new JDK (jdk7) here:

  • http://www.oracle.com/technetwork/java/javase/downloads/jdk7-downloads-1880260.html

After you install it,

  • Go to the 1st screen you have uploaded, and click "Installed JRE preferences"
  • click "Add...", "Next", "Directory", and select the new JDK folder previously installed
  • click "Finish"
  • And return to the "New Server" screen, select the new JDK and it will works (it's working for me today).

Sorry for my english (I'm french ^^)

Regards, Soufiane



来源:https://stackoverflow.com/questions/19539735/adding-glassfish-server-in-eclipse-kepler-error

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