Images in external jars

Hi,

I'm using an external jar which tries to load some images via ClassLoader.getSystemResource but fails with NullPointer exceptions. I already added the jar to the clathpath,runtime ect..as discribed in the FAQ. All methods can be called and work, only the loading of images fails.

Then I tried the same thing inside a normal java project, with the same jar...and everything worked fine. Is there anything special in Knime which has to be done in order to load images/files from a jar ?

Thanks !

Eclipse has a special class loading concept because of the various plug-ins it consists of. This means that the system class loader, which is used by ClassLoader.getSystemResource, does not see the jars inside a plug-in. Using ClassLoader.getResource should work fine, though.