【 六袆 - 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 小时前
关于联想ThinkCentre M950t-N000 M大师电脑恢复预装系统镜像遇到的一点问题
运维·网络·windows·电脑
网安INF3 小时前
Python核心数据结构与函数编程
数据结构·windows·python·网络安全
知识分享小能手6 小时前
uni-app 入门学习教程,从入门到精通,uni-app 基础知识详解 (2)
前端·javascript·windows·学习·微信小程序·小程序·uni-app
waving-black8 小时前
windows系统下安装测试kafka
windows·分布式·kafka
傻啦嘿哟10 小时前
Python 高效清理 Excel 空白行列:从原理到实战
windows
晋人在秦 老K10 小时前
鼠标连点效率低?MouseClickTool 2.0三步配置,自动化操作提速80% 重复点击太耗时?Windows鼠标连点器实操教程,开发测试效率翻倍
windows·自动化·计算机外设·鼠标连点器·gui模拟点击·自动化点击解决方案
shykevin10 小时前
uni-app x商城,商品列表组件封装以及使用
windows·uni-app
CHH321320 小时前
在 Mac/linux 的 VSCode 中使用Remote-SSH远程连接 Windows
linux·windows·vscode·macos
kobe_OKOK_1 天前
windows 下载 pip包,debian离线安装
windows·debian·pip
汤愈韬1 天前
NTFS权限基础、权限累加规则、权限继承规则
windows·网络安全