That would mean that the path it was given was wrong.
Here is the output I get when I execute the code from a class file not in a package and not in a jar:
From inside of a jar file:
Try...
Type: Posts; User: Norm
That would mean that the path it was given was wrong.
Here is the output I get when I execute the code from a class file not in a package and not in a jar:
From inside of a jar file:
Try...
One way to read files from a jar file with code from within the jar file is to use one of the Class class's getResouce methods.