I want to unpack resources from my jar file. The structure of jar looks like this:
my.jar META-INF resources my.exe my.dll my
Delete the leading slash, getResourceAsStream will use the absolute path if the first character is a slash.