I am setting all the images in my program the same way.
All images are located outside the jar file, in a folder called "images", so for example i set the frame icon like this :
Ok .... This is good, the same problem as you were saying. JVM looks for the logo image in the relative path, so i've changed the images' paths to be in the ClassPath ... And this worked fine