---
title: Java Agent exporter
weight: 1
geekdocCollapseSection: true
---

The JMX Exporter Java agent runs as a Java agent within your application and collects JMX MBean values.

**Use of the JMX Exporter Java agent is strongly encouraged due to the complex application RMI configuration required when running the Standalone JMX Exporter.**

# Jar File

The JMX Exporter Java agent jar file is published via GitHub Releases.

- [jmx_prometheus_javaagent-1.2.0.jar](https://github.com/prometheus/jmx_exporter/releases/download/1.2.0/jmx_prometheus_javaagent-1.2.0.jar)

# Installation

Installation depends on which modes you want to support:

- [HTTP mode](./http-mode/)
- [OpenTelemetry mode](./opentelemetry-mode/)
- [Combined mode](./combined-mode/)
