jeudi 25 juin 2015

How to change the read/write permission of SQLite database on windows?

I created a software using NetBeans and SQLite database. When I clean and build, the executable jar file and database work fine. It can read and write data from the database.

Then I created .exe file using "install creator" and after installing the software, the same dist folder is created in Program files on my Windows PC. When I run the executable jar file from that dist folder, it can only read the database, but can't write. I get this message

java.sql.SQLException:attempt to write a readonly database

Can anyone please help me solve this problem? Thanks in advance.

Aucun commentaire:

Enregistrer un commentaire