启动:
错误信息:
Java HotSpot(TM) 64-Bit Server VM warning: Using the DefNew young collector with the CMS collector is deprecated and will likely be removed in a future release
Java HotSpot(TM) 64-Bit Server VM warning: UseCMSCompactAtFullCollection is deprecated and will likely be removed in a future release.
错误: 找不到或无法加载主类 Files\rocketmq-all-4.2.0-bin-release\bin\Files\rocketmq-all-4.2.0-bin-release\lib
F:\Program Files\rocketmq-all-4.2.0-bin-release\bin>
报错原因:
由于JAVA_HOME\rocketmq_home
环境变量问题,检查环境变量中是否有空格,
如Program Files
这类的
解决方案:
将环境变量中空格删除
,或者重新放入到没有空格类目录的位置下
改完目录执行就启动成功了
弹出成功页面