Well, this is kinda weird, It must be some tiny thing wrong.
I'm creating a launcher to allow the game to be downloaded, and played through a launcher.
Process p = null;
p = Runtime.getRuntime().exec("java -jar C:\\Users\\Owner\\AppData\\Roaming\\Phased\\release.jar");
surrounded with try and catch obviously, but when the game executes, the display would load but would fail, obviously the first thing was "oh what did i do wrong" so I go to the location, and double click the jar, it works perfectly, nothings wrong.
I check once again, it still fails, So to get the error message I use the console to find out that it can not find my images. the images are definitely their, they are outside of the jar in a folder called res (this is where I had to put the folder for it to work when double clicking the jar in the location). So knowing it works, I decide to copy the res folder and put it inside the jar. I test the launcher, once again, it fails, check the console, still cant find the images.
the res folder is inside the jar, outside the jar, in roaming folder, no res folder, without the res folder (but all images and folders inside the jar still outside), everything inside the res folder out and in the location.
Anyone know how to fix this? or a different way to execute my jar?
The execution works, I tried it with a earlier version of the game with no images, it works perfectly. Just can not find the images.