ActiveMq的安装使用

朴灿烈づ我的快乐病毒、 2024-03-29 15:52 247阅读 0赞

一、下载安装

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+,所以导致上面报错

发表评论

表情:
评论列表 (有 0 条评论,247人围观)

还没有评论,来说两句吧...

相关阅读