I've got this strange problem with Java/Eclipse. I use this to load BufferedImages (and a similar one to load Fonts):
ClassLoader classLoader = ResourceLoader.class.getClassLoader();
The contents of jars are not files and folders, so you can not access their internals as if they were. The classloader can give you a direct
InputStream for the resource.
ImageIO can take an
InputStream. Use them together.