【 六袆 - Framework】ActiveMQ in windows安装;

介绍

This document describes how to install and configure ActiveMQ for both Unix and Windows' platforms.

预安装

ActiveMQ5.16版本对应JDK

ActiveMQ版本 JDK版本
5.16 JDK8(推荐)
5.17 JDK9+
6.0 JDK17

Windows Binary Installation

This procedure explains how to download and install the binary distribution on a Windows system.

From a browser, navigate to activemq.apache.org/.

Click the Download link in the navigation pane (the left pane).

Select the latest distribution (for older releases, click the link to the archives).

For a binary distribution, the filename will be similar to: activemq-x.x.x.zip.

Extract the files from the ZIP file into a directory of your choice.

Proceed to the #Starting ActiveMQ section of this document.

Following start-up, go to the #Testing the Installation section of this document.

源码安装

This procedure explains how to download and install the source distribution on a Windows system.

NOTE: ActiveMQ requires Java 8 to run and to build

From a browser, navigate to activemq.apache.org/.

Click the Download link in the navigation pane (the left pane).

Select the latest distribution (for older releases, click the link to the archives).

For a source distribution, the filename will be similar to: activemq-x.x-src.zip.

Extract ActiveMQ from the ZIP file into a directory of your choice.

Build ActiveMQ using Maven 2.1 or greater and Java 1.7.

The recommended method of building ActiveMQ is the following:

cd activemq_install_dir

java 复制代码
mvn clean install

where activemq_install_dir is the directory in which ActiveMQ was installed.

If the above build fails on some tests, type the following:

cd activemq_install_dir

java 复制代码
mvn clean install -Dmaven.test.skip=true 

If you prefer to use an IDE, then you can auto-generate the IDE's project file using maven plugins:

java 复制代码
mvn eclipse:eclipse

or

java 复制代码
mvn idea:idea

Feel free to use any other applicable IDE. Please refer to the plugin reference for more details.

Start ActiveMQ from the target directory, for example:

cd activemq_install_dir\assembly\target

unzip activemq-x.x-SNAPSHOT.zip

cd activemq-x.x-SNAPSHOT

bin\activemq
NOTE: Working directories get created relative to the current directory. To create the working directories in the proper place, ActiveMQ must be launched from its home/installation directory.

相关推荐
yaoxin5211235 小时前
419. 现代 Java IO 最佳实践 - 写入文本文件
java·windows·python
IOT.FIVE.NO.17 小时前
2026-05-30-Codex更新后对话消失和沙盒失效:适用人群、问题背景、解决方式与原因分析
人工智能·windows
阿昭L9 小时前
Lab 1-2
windows·恶意代码·逆向工程
Lv_沐曦12 小时前
Windows磁盘驱动器取消黄色感叹号的方法
运维·windows·bitlocker·黄色感叹号
ITHAOGE1513 小时前
下载 | Windows Server 2022官方原版ISO映像!(5月更新、标准版、数据中心版、20348.5139)
windows·科技·微软·电脑
YJlio14 小时前
CSDN AI数字营销实测体验:多平台账号一键分发到底好不好用?我做了一次完整实测
人工智能·windows·企业微信·火绒安全·系统备份·easyimagex
零号全栈寒江独钓14 小时前
c++跨平台实现日志重定向
linux·c++·windows
Crazy learner14 小时前
Windows 微软商店更新失败(错误代码 0x80004002)完整解决指南(2026最新有效)
windows·microsoft
Arenaschi16 小时前
关于GPT的版特点
java·网络·人工智能·windows·python·gpt
阿昭L16 小时前
Windows认证和安全对象的基本概念
windows·安全