...
Running Windows Environment e.g. HiveMQ Installation Guide - Windows Server 2022 on AWS
Check Minimum system hardware requirements https://docs.hivemq.com/hivemq/latest/user-guide/system-requirements.html#minimum
Install JRE (OpenJDK JRE 11 or newer is required.)
Download and Install JRE 11 or later https://adoptium.net/en-GB/temurin/releases/?arch=x64&os=windows&package=jre&version=11. Please do note the Java version for the next step(11.0.22 in our case).
(Recommended) Set the Environmental variable during installation can be done by enabling the following setting
Set JAVA_HOME Environment Variable manually:
Right-click on "This PC" and select "Properties".
Click on "Advanced system settings".
In the System Properties window, go to the "Advanced" tab and click on "Environment Variables".
Under "System Variables", click "New" and add a new variable:
Variable name:
JAVA_HOME
Variable value: the path to your Java installation (e.g.,
C:\Program Files\JavaEclipse Adoptium\jdk-11.0.22.7-hotspot\
).C:\Program Files\Eclipse Adoptium\jdk-11.0.22.7-hotspot\bin
exists under path system variable list.
Click OK to close all dialogues.
...