PottermoreIron opened a new issue, #7495: URL: https://github.com/apache/rocketmq/issues/7495
### Before Creating the Bug Report - [X] I found a bug, not just asking a question, which should be created in [GitHub Discussions](https://github.com/apache/rocketmq/discussions). - [X] I have searched the [GitHub Issues](https://github.com/apache/rocketmq/issues) and [GitHub Discussions](https://github.com/apache/rocketmq/discussions) of this repository and believe that this is not a duplicate. - [X] I have confirmed that this bug belongs to the current repository, not other repositories of RocketMQ. ### Runtime platform environment Windows 10 JDK17 ### RocketMQ version 5.1.4 ### JDK Version Oracle JDK17 ### Describe the Bug 在bin目录下启动mqnamesrv.cmd时报错: Unrecognized VM option 'UseConcMarkSweepGC' Error: Could not create the Java Virtual Machine. Error: A fatal exception has occurred. Program will exit. ### Steps to Reproduce 在RocketMQ安装目录下启动mqnamesrv.cmd报错 ### What Did You Expect to See? NameServer启动成功,终端输出:The Name Server boot success. serializeType=JSON, address 0.0.0.0:9876 ### What Did You See Instead? Unrecognized VM option 'UseConcMarkSweepGC' Error: Could not create the Java Virtual Machine. Error: A fatal exception has occurred. Program will exit ### Additional Context 应该是JDK版本的问题,查询了网上的资料,发现由于GC相关机制的改变,RocketMQ脚本的配置没有配合JDK高版本。我找到了一篇博客http://www.fastrabbit.cn/articles/42. 根据博客修改了cmd,最后NameServer启动成功。但还是希望RocketMQ能支持JDK高版本,毕竟没法保证每个项目都使用JDK8 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@rocketmq.apache.org.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org