Installation and use of ActiveMq

1. Download and install

1. Link: https://activemq.apache.org/components/classic/download/

Insert image description here

Java compatibility (java compatibility), 5.16.x supports java8 and above, 5.17.x supports java11 and above

2. Unzip the installation package

Insert image description here

3. Run

When running, pay attention to whether your computer is 32 or 64 bit. Do not run activemq.bat in the bin folder. Run activemq.bat in the bin/win64 (my local machine is win64)
Insert image description here

4. An error occurs when running

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

Because my local java environment is java8, I didn’t notice it when downloading the latest version of activemq, Java compatibility: 11+which resulted in the above error.

Guess you like

Origin blog.csdn.net/dxjren/article/details/128704094