【 六袆 - 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.

相关推荐
我是Superman丶8 小时前
Arduino IDE 安装教程:Windows/macOS/Linux 开发环境搭建
ide·windows·macos
辻弋2018 小时前
自动检测硬件生成驱动清单、实时监控FPS、120秒性能记录——30+项优化模块化开关,所有改动可精确复原
服务器·windows·游戏引擎·电脑·开源软件
江湖人称菠萝包8 小时前
【Windows】《深入浅出Windows API程序设计:编程基础篇》笔记-Chapter8-子窗口控件
windows·笔记
其实防守也摸鱼10 小时前
OpenClaw Windows 踩坑实战指南
运维·服务器·数据库·windows·github·copilot
佳&弥15 小时前
后渗透痕迹清理
服务器·windows·web安全·网络安全
MSTcheng.15 小时前
【Linux学习】Linux学习第四弹——Linux基本指令3
linux·windows·学习·操作系统·指令
霸道流氓气质16 小时前
MyBatis 与 SQL 层面关键技术详解
windows·sql·mybatis
一直走下去-明17 小时前
在 Windows 上安装 uv
windows·uv
Lost of 程序猿17 小时前
C# 12 / .NET 9 新特性机制深度:编译器替你写了什么,哪些糖吃下去会出事
windows·c#·.net
编程的一拳超人1 天前
DeepSeek Harness Linux/macOS/Windows 本地下载、启动与模型配置指南
linux·windows·macos·deepseek