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\jdk1.8.0_161\\jre\lib\ext
问题解决:
1.rocketMQ安装路径的文件名不能有空格,jdk安装路径的文件名也不能有空格。
2.runbroker.cmd文件,%CLASSPATH%添加双引号。
windows环境doc命令:
1.下载rocketMq安装文件
路径 E:\rocketMq\rocketmq-all-4.9.1-source-release\distribution\bin下运行
mvn -Prelease-all -DskipTests clean install -U
2.在pom目录下打开cmd运行:mvn clean package -Dmaven.test.skip=true