# How to start the UI when starting elasticmq embedded in java

**URL:** <https://softwaremill.community/t/how-to-start-the-ui-when-starting-elasticmq-embedded-in-java/303>\
**Category:** elasticmq\
**Created:** [October 31, 2023, 11:56am UTC](https://softwaremill.community/t/how-to-start-the-ui-when-starting-elasticmq-embedded-in-java/303 "2023-10-31T11:56:24Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![alexp0205](https://dub1.discourse-cdn.com/flex005/user_avatar/softwaremill.community/alexp0205/32/198_2.png) [@alexp0205](https://softwaremill.community/u/alexp0205)\
**Post date:** [October 31, 2023, 11:56am UTC](https://softwaremill.community/t/how-to-start-the-ui-when-starting-elasticmq-embedded-in-java/303/1 "2023-10-31T11:56:24Z")

</div>

I am starting elasticmq embedded in Java ([GitHub - softwaremill/elasticmq: In-memory message queue with an Amazon SQS-compatible interface. Runs stand-alone or embedded.](https://github.com/softwaremill/elasticmq#using-the-amazon-java-sdk-to-access-an-elasticmq-server))

How to specify and start the UI for this. When I try to access port 9325, i am getting an internal server error. The logs say that UI files could not be found.

```auto
ERROR 2023-10-31 17:21:12,045 [TheStatisticsRestServerBuilder$$anon$1] [] []: Exception when running routes
java.lang.RuntimeException: Could not find UI files
	at org.elasticmq.rest.stats.StatisticsDirectives.uiLocation(StatisticsDirectives.scala:50)

```

---

<div class="post-metadata">

**Author:** ![adamw](https://dub1.discourse-cdn.com/flex005/user_avatar/softwaremill.community/adamw/32/28_2.png) [@adamw](https://softwaremill.community/u/adamw)\
**Post date:** [October 31, 2023, 1:34pm UTC](https://softwaremill.community/t/how-to-start-the-ui-when-starting-elasticmq-embedded-in-java/303/2 "2023-10-31T13:34:07Z")

</div>

I think the UI is only included in the [docker packages](https://github.com/softwaremill/elasticmq#ui), but maybe @micossow has some more details on that 🙂

---

<div class="post-metadata">

**Author:** ![micossow](https://dub1.discourse-cdn.com/flex005/user_avatar/softwaremill.community/micossow/32/34_2.png) [@micossow](https://softwaremill.community/u/micossow)\
**Post date:** [October 31, 2023, 1:48pm UTC](https://softwaremill.community/t/how-to-start-the-ui-when-starting-elasticmq-embedded-in-java/303/3 "2023-10-31T13:48:06Z")

</div>

That’s right, we do not publish UI to maven.  
The only way is to checkout the elasticmq repo, build the UI and put the files in classpath.  
Although, the recommended way of using elasticmq is indeed via docker (e.g. testcontainers)

---

<div class="post-metadata">

**Author:** ![alexp0205](https://dub1.discourse-cdn.com/flex005/user_avatar/softwaremill.community/alexp0205/32/198_2.png) [@alexp0205](https://softwaremill.community/u/alexp0205)\
**Post date:** [November 1, 2023, 5:49am UTC](https://softwaremill.community/t/how-to-start-the-ui-when-starting-elasticmq-embedded-in-java/303/4 "2023-11-01T05:49:20Z")

</div>

Thanks @adamw and @micossow . We will move to the docker deployment then.
