一、下载安装
1、链接 :https://activemq.apache.org/components/classic/download/

Java compatibility(java兼容性),5.16.x支持java8及以上版本,5.17.x支持java11及以上版本
2、解压安装包

3、 运行
运行的时候注意自己电脑是32还是64位的,不要运行bin文件夹下的activemq.bat,要运行bin/win64(我本地是win64的)文件夹下的activemq.bat

4、 运行时报错
WrapperSimpleApp: Unable to locate the class org.apache.activemq.console.Main: java.lang.UnsupportedClassVersionError: org/apache/activemq/console/Main has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0
因为我本地java环境是java8,在下载activemq最新版本的时候,没有注意到
Java compatibility: 11+,所以导致上面报错

2380

被折叠的 条评论
为什么被折叠?



