ClassLoader.getSystemResource() will use the bootstrap (system) classloader.
Class.getResource() will use that particular instance of Class's classloader, in other words whatever classloader was used to load that class. This may be a different classloader than the system classloader.