How to read tmx file in javafx!

Hello!

I read mostly every thread, but couldnt find any useful information. I created a map using tilemap and got a .tmx file. Now i want to load into my Javafx project.

But keep getting errors like Can’t read input file! or No such Directory/File.
I did exactly the same like him :

also read this:

But he didnt offer the solution. Can someone help me pls?

@Joha_Tam Welcome to the Tiled forum!

If this is not about JavaFX but rather about loading the files from a JAR then my answer in the latter thread may help: