# Help for JAVA+APM

**URL:** <https://discuss.elastic.co/t/help-for-java-apm/166833>\
**Category:** APM\
**Created:** [February 2, 2019, 7:35pm UTC](https://discuss.elastic.co/t/help-for-java-apm/166833 "2019-02-02T19:35:30Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![srikanth.02](https://avatars.discourse-cdn.com/v4/letter/s/e495f1/32.png) [@srikanth.02](https://discuss.elastic.co/u/srikanth.02)\
**Post date:** [February 2, 2019, 7:35pm UTC](https://discuss.elastic.co/t/help-for-java-apm/166833/1 "2019-02-02T19:35:30Z")

</div>

Can any one help me how to integrate APM agent to the java standalone process.

I have APM server installed and downloaded elastic.apm.agent.1.0.1.jar as well.

---

<div class="post-metadata">

**Author:** ![felixbarny](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/felixbarny/32/27341_2.png) [@felixbarny](https://discuss.elastic.co/u/felixbarny)\
**Post date:** [February 2, 2019, 8:26pm UTC](https://discuss.elastic.co/t/help-for-java-apm/166833/2 "2019-02-02T20:26:38Z")

</div>

Here you go: [https://www.elastic.co/guide/en/apm/agent/java/current/intro.html#get-started](https://www.elastic.co/guide/en/apm/agent/java/current/intro.html#get-started)

Btw, there is already a more recent version

---

<div class="post-metadata">

**Author:** ![stephenb](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/stephenb/32/40856_2.png) [@stephenb](https://discuss.elastic.co/u/stephenb)\
**Post date:** [February 12, 2019, 11:19pm UTC](https://discuss.elastic.co/t/help-for-java-apm/166833/3 "2019-02-12T23:19:52Z")

</div>

Hi Thanks for trying Elastic Java APM

Here is a quick little Gist I put together to show Elastic APM with Java standalone it even includes a "Performance Bug" to look for. If you already have Kibana, Elasticsearch and APM Server running you can ignore the `docker-compose` instructions

It shows how to run the Java app with the Java agent from the command line.

> <https://gist.github.com/bvader/cc9fea7e6f8f709dfa2ad14776eed7fe>

If you need a quick elastic stack you can use this docker compose

> <https://gist.github.com/bvader/9665fa7b3bd69457517e41a7c28b4725>

Cheers,  
Stephen

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [March 5, 2019, 7:19pm UTC](https://discuss.elastic.co/t/help-for-java-apm/166833/4 "2019-03-05T19:19:56Z")

</div>

This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.
