How to make a database service in Netbeans 6.5 to connect to SQLite databases?

I use Netbeans IDE (6.5) and I have a SQLite 2.x database. I installed a JDBC SQLite driver from and added a new driver in Nebeans services panel. Then tried to connect to my database file from Services > Databases using this URL for my database:


but it fails to connect. I get this exception:

org.netbeans.modules.db.dataview.meta.DBException: Unable to Connect to database : DatabaseConnection[name='jdbc:sqlite://home/farzad/netbeans/myproject/mydb.sqlite [ on session]']
    at org.netbeans.modules.db.dataview.output.SQLExecutionHelper.initialDataLoad(
    at org.netbeans.modules.db.dataview.output.DataView.create(
    at org.netbeans.modules.db.dataview.api.DataView.create(
    at org.netbeans.modules.db.sql.execute.SQLExecuteHelper.execute(
    at org.netbeans.modules.db.sql.loader.SQLEditorSupport$
    at org.openide.util.RequestProcessor$
[catch] at org.openide.util.RequestProcessor$

What should I do? :(


The current version of Zentus SQLiteJDBC is v053, based on SQLite 3.6.1. It will not open a 2.x SQLite database. Perhaps you can use SQLite 2.x command line tool to .dump your database, and the Sqlite3 command line tool to .load it. The use Zentus SQLiteJDBC to access the new SQLite 3.x database.

Alternatively, use a JDBC driver that supports SQLite 2 such as this one.

Need Your Help

Samsung S4 Health App API's

android api samsung-mobile

I am trying to access to the S Health App Samsung S4 Android app data . Are there public API's available that I can access my own or others data? through an authentication mechanism?

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.