How to install ActiveMQ on Windows 11

ActiveMQ is an open-source message broker software that allows applications to communicate with each other through messaging. In this tutorial, we will walk you through the steps of installing ActiveMQ on Windows 11.

Prerequisites

Before we go ahead with the installation, there are a few prerequisites that you need to have in place. These include:

Steps to Install ActiveMQ on Windows 11

To install ActiveMQ on Windows 11, follow these steps:

  1. Visit the ActiveMQ website and download the latest version of the software. Make sure you download the correct version for your operating system. The download package file will have a ".zip" extension.

  2. Extract the downloaded ZIP package to a directory of your choice. Preferably, you should extract it to the root directory of your drive (for instance, "C:\activemq").

  3. Set up the JAVA_HOME environment variable. To do so, follow these steps:

    • Right-click the "Start" menu and choose "System".
    • In the "System" window, choose "Advanced system settings".
    • In the "Advanced" tab, click the "Environment Variables" button.
    • In the "Environment Variables" window, click the "New" button under the "User variables" section.
    • In the "New User Variable" window, enter "JAVA_HOME" in the "Variable name" field and the path to the Java installation directory in the "Variable value" field. For example, "C:\Program Files\Java\jdk1.8.0_291".
    • Click "OK" to save the variable.
  4. Open a command prompt window by typing "cmd" in the Start menu search bar and choosing "Command Prompt".

  5. Navigate to the "bin" directory within the ActiveMQ directory. You can do this by running the following command:

cd C:\activemq\apache-activemq-x.y.z\bin
  1. Run the "activemq.bat" script to start the ActiveMQ server. You can do this by running the following command:
activemq.bat start
  1. If successful, you will see ActiveMQ starting up and displaying messages in the console window. You can now access the ActiveMQ web console by launching your web browser and entering the following address in the address bar:
http://localhost:8161/admin/
  1. You will be prompted for a username and password. The default credentials are "admin" for both the username and password.

  2. You can now use ActiveMQ to develop and test your messaging applications.

Conclusion

In this tutorial, we walked you through the steps of installing ActiveMQ on Windows 11. ActiveMQ is a powerful and flexible messaging software that can enable seamless communication between your applications. Now that you have installed ActiveMQ, you can start exploring its features and developing your own messaging applications.

If you want to self-host in an easy, hands free way, need an external IP address, or simply want your data in your own hands, give IPv6.rs a try!