glassfish java环境,Eclipse上的Glassfish:我已经拥有JDK时,需要JDK而不是JRE

I am trying to install Glassfish5 on my Eclipse. I have the following details for everything:

My Environment Path Variable: C:\Program Files\Java\jdk-13.0.1

I have also tried with the bin at the end of it.

When I try to install Glassfish it gives me JDK required rather than JRE, Please find it in the attached image.hqlNc.png

I have tried all the available solutions like this question but nothing works. I am using windows 10. I installed the right JDK and not JRE from this link.

Please let me know what can I do? Thank you.

解决方案

When I try to install Glassfish it gives me JDK required rather than

JRE

As far as I know, Glassfish 5 does not work with any JDK version > 8. Or more precisely:

I can't get Glassfish 5 to work with any JDK > 8

I can't find any documentation stating that it should work with Java 9 or later.

The lack of any formal documentation from Oracle on the situation is frustrating.

Please let me know what can I do?

There is a simple workaround for you unless using GlassFish is essential: use Payara instead, since it is based on GlassFish and works with JDK 11 on Eclipse.

Payara version 5.193.1 definitely works with JDK 11 since I am using them together.

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值