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

相关推荐
曹牧1 小时前
C#:List<string>特定格式输出
windows·c#
易点云徐源3 小时前
(已解决)Photoshop 多画板 Alt+拖动复制随机卡死 4~5 分钟
windows·photoshop
Dovis(誓平步青云)3 小时前
DevEco Studio 6.1.1 Windows 安装实录:从下载校验到首次启动
android·开发语言·数据库·人工智能·windows·harmonyos
bosins3 小时前
将 Hyper-V 上的 Ubuntu 虚拟机内容迁移到 WSL (Windows Subsystem for Linux) 中
linux·windows·ubuntu
ι:5 小时前
DeepSeek Harness 桌面一键启动与网页背景修改指南
windows·学习·deepseekharness
zuozewei6 小时前
7DGroup 开源 dsh-7d-tray-win 系统托盘插件
windows·代码复审
深念Y7 小时前
Wine 运行 HiTool 踩坑记录
linux·windows·容器·桌面·wine·虚拟器
玖釉-7 小时前
nvpro_core2 源码与架构解析:NVIDIA Vulkan 图形开发基础框架
c++·windows·图形渲染
淡海水8 小时前
01-08-运行时-虚方法分派与接口调用的底层实现
linux·windows·microsoft·c#·虚方法·vtable·vsd
无证驾驶梁嗖嗖8 小时前
两台电脑网线直连SMB共享
windows·文件传输·smb