Fixed resource access to be JAR-compliant