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

相关推荐
软件资深者13 小时前
HP M126a打印机,系统不支持请求的命令或者资源管理器出错
windows·windows11·系统修复
SJjiemo14 小时前
TreeSize Pro 专业磁盘空间分析
windows
摸鱼仙人~17 小时前
构建基于 JSON 模板的可插拔通用LLM信息提取系统
windows
特立独行的猫a17 小时前
claude code 在windows下的最简单安装方法
windows·claude·安装
一点事18 小时前
windows:zookeeper下载安装教程
windows·分布式·zookeeper
FL162386312920 小时前
文件或者文件夹存在但是删除提示项目文件不存在解决方法
windows
踏歌~21 小时前
终极指南:在 Windows 上配置 KDB+, JupyterQ 与 Python (embedPy)
开发语言·windows·python
彷徨而立21 小时前
【Windows】 LoadLibraryA(“F:\\svnroot\\mccv.dll“) 返回NULL, GetLastError() 返回 126
windows
gs801401 天前
【保姆级】MetaGPT安装避坑指南:Windows+Conda环境下解决依赖冲突、版本过低及配置失效问题
人工智能·windows·conda·metagpt
危险、1 天前
Windows 怎么修改Claude Code的API Key?
windows·claude code