Open tongJerry opened 6 months ago
JDK 11 is not supported.
现在的mqtt broker在jdk11的环境下无法启动,现在是没有支持JDK8以后的版本吗?
What exactly went wrong?
现在的mqtt broker在jdk11的环境下无法启动,现在是没有支持JDK8以后的版本吗?
What exactly went wrong?
现在的mqtt broker在jdk11的环境下无法启动,现在是没有支持JDK8以后的版本吗?
What exactly went wrong? 错误提示是这样的,无法找到或者加载主类 Error: Could not find or load main class org.apache.rocketmq.mqtt.cs.starter.Startup Caused by: java.lang.ClassNotFoundException: org.apache.rocketmq.mqtt.cs.starter.Startup
The error stack doesn't look like it's a JDK version related problem, you may check your server config instead.
支持jdk11 ,启动失败,是脚本问题,用了jre ,jdk11 已经没有jre 了,调整启动脚本即可启动 mqtt ,找到 /bin/runserver.sh 脚本
JAVA_OPT="${JAVA_OPT} -classpath .:${BASE_DIR}/lib/*:${CLASSPATH}"
现在的mqtt broker在jdk11的环境下无法启动,现在是没有支持JDK8以后的版本吗?