I've got a problem with loading images implemented in a jar file. Here's my file tree:
    -graphics
    -ImageFiles
         -animation
              -image.jpg
    -mathspace
    -META-INF
Now I wanna load this image:
    ImageIO.read(getClass().getResource("/ImageFiles/animation/image.jpg"));
This works well in the eclipse runtime but when I start it as a runnable jar File a NullPointerException gets triggered. Thanks for help!
 
    