hey i am making a game and i wanted to see it as an exe file so i took the java code, creater a jar file, and then created a exe file. When the program runs on my computer it works fine, all the images load since they are on my computer, but when my friend runs it on his computer the images arent there. Is there any way to have the images stored in the exe file or something like that so if i gave the exe to anyone the images would always load?

You need to put all the images in the jar file.
When you do that, you will need to change the way the image files are read from using disk files to using resources.
There is lots of code samples on the forum that does this. Search for getResource and getResourceAsStream for examples.

I have no idea if the converted (to .exe) jar file would execute the same as the jar file with the java command.