Hello, i am using eclipse to create my java 2d game... i am trying to export it although the problem is that...when i run the game in Eclipse it works perfectly although on the runnable jar file, it doesnt work because none of the images are working.... the images are in the same folder as the classes (Project>src>Package>) so, i use 'src/package/background.png' when in eclipse, although that is not working when exported..
so how do i make it so i can use those images in the exported file... ive tried everythign!!, this is a list of what ive tried:
'src/package/background.png'
'package/background.png'
'background.png'
'./background.png'
'./package/background.png'
'./src/package/background.png'
'project/src/package/background.png'
'./project/src/package/background.png'
but none of these are working (P.S. i also have tried it with // instead of just / )
-thanks in advance!!'