# Why does Hive needs "administrative privileges" to run?

**URL:** <https://community.hivemq.com/t/why-does-hive-needs-administrative-privileges-to-run/139>\
**Category:** HiveMQ Community Edition\
**Created:** [January 10, 2020, 8:18am UTC](https://community.hivemq.com/t/why-does-hive-needs-administrative-privileges-to-run/139 "2020-01-10T08:18:30Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![thorsten23](https://avatars.discourse-cdn.com/v4/letter/t/a698b9/32.png) [@thorsten23](https://community.hivemq.com/u/thorsten23)\
**Post date:** [January 10, 2020, 8:18am UTC](https://community.hivemq.com/t/why-does-hive-needs-administrative-privileges-to-run/139/1 "2020-01-10T08:18:30Z")

</div>

Hi,

when I start HiveMQ it needs to be run as an administrator. Why?  
Previously I tried mosquitto and Artemis and both could be run with user privileges.

Thanks,  
Thorsten

---

<div class="post-metadata">

**Author:** ![zingiber](https://avatars.discourse-cdn.com/v4/letter/z/ce73a5/32.png) [@zingiber](https://community.hivemq.com/u/zingiber)\
**Post date:** [January 10, 2020, 4:06pm UTC](https://community.hivemq.com/t/why-does-hive-needs-administrative-privileges-to-run/139/2 "2020-01-10T16:06:59Z")

</div>

Hello Thorsten,

what operating system are you attempting to run HiveMQ on?  
Are you being presented with a message concerning privileges  
when following our [installation guide](https://www.hivemq.com/docs/4.2/hivemq/install-hivemq.html)?

On Linux HiveMQ does not require root privileges to run.  
Our prefered installation directory is /opt/hivemq for which  
your user may not have the necessary permissions.

On Windows administrator privileges are usually only required when running  
HiveMQ as a service.

[This](https://community.hivemq.com/t/hivemq-ce-on-windows-without-admin-rights/76) thread might be of interest to you.

Regards,  
Finn from the HiveMQ team

---

<div class="post-metadata">

**Author:** ![thorsten23](https://avatars.discourse-cdn.com/v4/letter/t/a698b9/32.png) [@thorsten23](https://community.hivemq.com/u/thorsten23)\
**Post date:** [January 11, 2020, 6:28am UTC](https://community.hivemq.com/t/why-does-hive-needs-administrative-privileges-to-run/139/3 "2020-01-11T06:28:07Z")

</div>

Hallo Finn,

I am Running it on windows 10. I just Followed the quick Start Guide which means i just unpacked the zip and executed bin/run.

I will Check the Thread you mentioned.

Thanks,

Thorsten

---

<div class="post-metadata">

**Author:** ![thorsten23](https://avatars.discourse-cdn.com/v4/letter/t/a698b9/32.png) [@thorsten23](https://community.hivemq.com/u/thorsten23)\
**Post date:** [January 13, 2020, 8:22am UTC](https://community.hivemq.com/t/why-does-hive-needs-administrative-privileges-to-run/139/4 "2020-01-13T08:22:28Z")

</div>

…because Java8 is not sufficient. If you run it with java8 you get two messages:

1. 

WARNING

HiveMQ needs more runtime privileges,  
please run again as admin. (right click, select ‘Run as administrator’

1. 

ERROR! HiveMQ requires at least Java 11

Solving the second issues (running it with java 11 or greater) solves both issues at once 🙂

---

<div class="post-metadata">

**Author:** ![zingiber](https://avatars.discourse-cdn.com/v4/letter/z/ce73a5/32.png) [@zingiber](https://community.hivemq.com/u/zingiber)\
**Post date:** [January 13, 2020, 12:54pm UTC](https://community.hivemq.com/t/why-does-hive-needs-administrative-privileges-to-run/139/5 "2020-01-13T12:54:54Z")

</div>

Indeed, HiveMQ requires JRE 11 or newer.

I’m glad to see you were successful!
