I am trying to access my SQLite database which is in a Java package. When I am giving it's absolute path then it's OK, but when I am putting my db file inside java package then it isn't working. Error:
[SQLITE_ERROR] SQL error or missing database (no such table: FinalProjectDemo)
Picture of directory is as in this picture here.
If you put your sqlite.db folder into the working directory you should be able to reference it as shown in your code.