简体   繁体   English

netbeans JDK 上的 Glassfish 服务器没有问题

[英]Problem with Glassfish server on netbeans JDK not

So I'm a beginner at JEE and I only just installed Glassfish server, the problem is that it displays the error: "GlassFish server could not be started with JDK 17(Default). Please select another Java SE Platform" , I have found another similar issue, but I believe it was related to a JDK 11 wish is no longer supported however I have tested JDK 16 and 17 which are the latest versions.所以我是JEE的初学者,我只安装了Glassfish服务器,问题是它显示错误: “GlassFish服务器无法使用JDK 17(默认)启动。请select另一个Java SE平台” ,我找到了另一个类似的问题,但我相信它与不再支持 JDK 11 的愿望有关,但是我已经测试了最新版本的 JDK 16 和 17。

For today Glassfish 5 supports only Oracle JDK 8 Update 144 or later.今天,Glassfish 5 仅支持 Oracle JDK 8 Update 144 或更高版本。 With Payara 5 you can use JDK 11使用 Payara 5,您可以使用 JDK 11

If you are facing jdk could not find problem, then install jdk 8 version for glashfish 4.1.1.如果您遇到 jdk 找不到问题,请安装 jdk 8 版本的 glashfish 4.1.1。 And set the environment path properly.并正确设置环境路径。 After this your problem will be solved ✌️之后你的问题就迎刃而解了✌️

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

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