# OneAgent and Java

**URL:** <https://community.dynatrace.com/t/oneagent-and-java/30760>\
**Category:** Open Q&A\
**Tags:** oneagent, java\
**Created:** [March 12, 2021, 1:58am UTC](https://community.dynatrace.com/t/oneagent-and-java/30760 "2021-03-12T01:58:15Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![sivart\_89](https://avatars.discourse-cdn.com/v4/letter/s/848f3c/32.png) [@sivart\_89](https://community.dynatrace.com/u/sivart_89)\
**Post date:** [March 12, 2021, 1:58am UTC](https://community.dynatrace.com/t/oneagent-and-java/30760/1 "2021-03-12T01:58:15Z")

</div>

New to Dynatrace, just wondering if the Dynatrace OneAgent installs java or uses a preinstalled version of Java. I imagine the former? Just wanted to confirm, could not find any specific documentation on this

---

<div class="post-metadata">

**Author:** ![The\_AM](https://avatars.discourse-cdn.com/v4/letter/t/ce7236/32.png) [@The\_AM](https://community.dynatrace.com/u/The_AM)\
**Post date:** [March 12, 2021, 2:41am UTC](https://community.dynatrace.com/t/oneagent-and-java/30760/2 "2021-03-12T02:41:56Z")

</div>

Hi Travis,

The OneAgent installer does not require Java on your system, nor does it deploy or use Java for the operation of the OneAgent (ignoring that OneAgent may be used to [monitor your Java applications](https://www.dynatrace.com/support/help/shortlink/java)).

For Linux and Windows as two common platforms for OneAgent, you will find in our Dynatrace Help the following pages that’ll describe more about what the OneAgent installer performs as changes to your system:

**Linux** _, see [What happens during installation?](https://www.dynatrace.com/support/help/technology-support/operating-systems/linux/installation/install-oneagent-on-linux/#expand-what-happens-during-installation-3628) section_

**Windows** _, see [What happens during installation?](https://www.dynatrace.com/support/help/technology-support/operating-systems/windows/installation/install-oneagent-on-windows/#expand-what-happens-during-installation-3641) section_

From a security standpoint, there may be particular permission required at installation time, so please review the security related topics:

- Linux, see [OneAgent security on Linux](https://www.dynatrace.com/support/help/shortlink/oneagent-security-linux) topic
- Linux ambient capabilities mode, see [OneAgent non-privileged mode on Linux](https://www.dynatrace.com/support/help/shortlink/non-privileged-mode#privileges-during-installation) topic
- Windows, see [OneAgent security on Windows](https://www.dynatrace.com/support/help/shortlink/oneagent-security-windows)&nbsp;topic

For other supported platforms, please have a look [at this section of Dynatrace Help](https://www.dynatrace.com/support/help/shortlink/oneagent-security-windows) to locate the OneAgent topics related to the platform you wish to monitor.

Regards,  
Andrew M.
