I got into the same errormessage. (JDK 1.4.2)
I found out, that this problem always occured, when I do have path
information in "filename". Without the path it works. The problem is
that the database file will be created in the current directory
(=System.getProperty("user.dir");) but that is not what I want.
This peace of code will create a database file, but without any
content:
String olddir = System.getProperty("user.dir");
System.setProperty("user.dir", dbFile.getParent());
connection = DriverManager.getConnection("jdbc:sqlite:" +
dbFile.getName());
System.setProperty("user.dir", olddir);
Jens
--~--~---------~--~----~------------~-------~--~----~
Mailing List: http://groups.google.com/group/sqlitejdbc?hl=en
To unsubscribe, send email to [EMAIL PROTECTED]
-~----------~----~----~----~------~----~------~--~---