I can not start HiveMQ using /etc/init.d/hivemq start or systemctl start hivemq

I installed HiveMQ following the instruction:

But I can not start HiveMQ using /etc/init.d/hivemq start or systemctl start hivemq.
systemctl start hivemq gives me errors like below:

and /etc/init.d/hivemq start gives me:
Starting hivemq (via systemctl): [ OK ]
but it didn’t start when i check it.

I didn’t modify any configuration there.

Any help would be appreciated.

./bin/ is OK.
And i don’t know where to find log info when using /etc/init.d/hivemq start or systemctl start hivemq

Hello chengxiangwang,

nice to see you experimenting with HiveMQ! It seems the service is trying to launch HiveMQ with a user that does not exist. Please make sure the user specified in the service is valid on the system. Most likely you will need to create a user named hivemq.

Kind regards,
Finn from the HiveMQ team

Thank you for your reply.

It was caused by the hivemq user, indeed. But after I created hivemq user, I still cannot start the hivemq service.

The shell gives HiveMQ 4 requires at least Java version 11. But I surely installed java11.
And when I execute the command
java_version=$(java -version 2>&1 | awk -F '"' '/version/ {print $2}' | sed 's/\..*//')
alone, it returns 11 whichi is correct.
I really don’t know what happened.