[SOLVED]how to load file depending on the folder where the Jar exists

hello,
am making a game where you can create and load levels, i couldn’t find a way how to embed the level files (txt) into the exported jar (if anyone knows how it would be better i think) but for now in order to play the game the level should be in “C:\JavaGame”
what i want is how to load them depending on the folder where the Jar exists
for example if your jar is in “C:\Game” then the game will look into “C:\Game\JavaGame”
i hope i explained well
thank you