This content has been marked as final. Show 4 replies
If the "file" is in the same package directory as the class that contains that method, then use just the filename.
If it is in a package directory under the package in which that class resides, then "subpackage/additionalsubpackage/filename"
If it is in a completely different package than the one in which this class resides then "/full/package/path/to/filename"
As the documentation for getResourceAsStream also describes.
Edit: And, of course, make sure that the sqllite file is even in the jarfile.