creating executable .jar for linux, mac, and windows
I made an executable .jar in Windows and if I put these files in the same folder it works fine.
When I try to execute this in Ubuntu it does not load the background image and the config.properties.
I added this to manifest
but still did'nt load config.properties. I didn't even try the Image folder since config.properties didn't work.
Is there a way to make an executable .jar that is windows, mac and pc friendly? I would like to leave config.properties and Image directory seperate from .jar
This is what I use to load config.properties:
background = new ImageIcon("images/home_background.png");