# \[Java\] Is it possible to load tmx/tsx files from within the jar itself?(libtiled.jar)

**URL:** <https://discourse.mapeditor.org/t/java-is-it-possible-to-load-tmx-tsx-files-from-within-the-jar-itself-libtiled-jar/3644>\
**Category:** Questions\
**Created:** [January 2, 2019, 1:55pm UTC](https://discourse.mapeditor.org/t/java-is-it-possible-to-load-tmx-tsx-files-from-within-the-jar-itself-libtiled-jar/3644 "2019-01-02T13:55:55Z")\
**Posts on this page:** 1\
**Showing post:** 8

<div class="post-metadata">

**Author:** ![bjorn](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.mapeditor.org/bjorn/32/1599_2.png) [@bjorn](https://discourse.mapeditor.org/u/bjorn)\
**Post date:** [April 14, 2021, 8:34am UTC](https://discourse.mapeditor.org/t/java-is-it-possible-to-load-tmx-tsx-files-from-within-the-jar-itself-libtiled-jar/3644/8 "2021-04-14T08:34:38Z")

</div>

@Joha_Tam I think this problem was resolved with the following change:

> <https://github.com/mapeditor/tiled/commit/355935c6bd02f669971bce928c9618b685a91708#diff-26049a29df4aa467611cfd0f97567b9ec076bfbe49e3774805d6f8e92c051eaf>

Please check whether your version of libtiled-java has this change. The above change even added a test case where the map gets loaded from the JAR.

---

_[View the full topic](https://discourse.mapeditor.org/t/java-is-it-possible-to-load-tmx-tsx-files-from-within-the-jar-itself-libtiled-jar/3644)._
