Systematic Error launching the Database Toolbox

5 views (last 30 days)
I am using a timer to update a SQLite database every 5 minutes (using the database toolbox) with new data. This timer is supposed to run continuously every night. As I came back to my computer today, Matlab had stopped (out of memory exception). I now cannot connect to any database, or open the database explorer, or edit the database toolbox preferences as I get this error systematically:
Error using javaObject
No class com.mathworks.toolbox.database.databasePrefs can be located on the Java class path
Error in setdbprefs (line 58)
DatabasePrefs = javaObject('com.mathworks.toolbox.database.databasePrefs');
Error in database>errorhandling (line 399)
switch lower((setdbprefs('ErrorHandling')))
Error in database (line 118)
errorhandling(connection.Message);
Ì have tried to reinstall Matlab, with no avail. What else can I do?

Answers (1)

Vincent Marchal
Vincent Marchal on 25 Jun 2015
I have solved the problem by reinstalling the JDBC SQLite driver and changing the javaclasspath.txt file accordingly.

Products

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!