按照老师的步骤做的,只是我的JDK版本是用的11.0.2,在启动过程中启动servername
➜ rocketmq-all-4.4.0-bin-release nohup sh bin/mqnamesrv &
[1] 9685
appending output to nohup.out
➜ rocketmq-all-4.4.0-bin-release
[1] + 9685 exit 1 nohup sh bin/mqnamesrv
会直接exit。查看nohup.out发现报错信息如下:
Java HotSpot™ 64-Bit Server VM warning: Option UseConcMarkSweepGC was deprecated in version 9.0 and will likely be removed in a future release.
Unrecognized VM option 'UseCMSCompactAtFullCollection’
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
查阅了网上资料后,始终无法成功。请老师指点