A primer on HiveMQ Broker: Difference between revisions

From OPC Labs Knowledge Base
Line 16: Line 16:
# Run the downloaded installer, keeping all defaults.
# Run the downloaded installer, keeping all defaults.
# In the unpacked directory for HiveMQ, expand the '''bin''' subdirectory, the right-click '''run.bat''', and select "Run as administrator".
# In the unpacked directory for HiveMQ, expand the '''bin''' subdirectory, the right-click '''run.bat''', and select "Run as administrator".
# The HiveMQ should now start, showing various log messages in the console window.

Revision as of 10:55, 1 August 2025

Introduction

HiveMQ Broker is a commercial MQTT Broker based on Java.

Web site: https://www.hivemq.com/products/mqtt-broker/

Download: https://www.hivemq.com/download/ (the whole HiveMQ Platform)

Documentation: https://docs.hivemq.com/hivemq/latest/user-guide/index.html (the whole HiveMQ Platform)

Installation

We have tested the following installation steps on Windows, with HiveMQ 4.42.0.

  1. Unpack the downloaded ZIP file.
  2. In the unpacked directory for HiveMQ, expand the bin subdirectory, the right-click run.bat, and select "Run as administrator".
  3. You may get an error similar to this: "ERROR! You do not have the Java Runtime Environment installed, please install Java JRE from https://adoptium.net/?variant=openjdk21".
  4. Visit https://adoptium.net/temurin/releases and download the .MSI for Windows.
  5. Run the downloaded installer, keeping all defaults.
  6. In the unpacked directory for HiveMQ, expand the bin subdirectory, the right-click run.bat, and select "Run as administrator".
  7. The HiveMQ should now start, showing various log messages in the console window.