Die Treiberklasse 'org.hsqldb.jdbcDriver' konnte nicht geladen werden

say_hello

say_hello

Dauergast
190
Hallo und guten Morgen Community,

habe eine base-db bekommen - und obwohl ich den dafür noetigen Treiber - soweit ich überblicke installiert habe, bekomm ich die untenstellende Fehlermeldung.

Code:
    Die Treiberklasse 'org.hsqldb.jdbcDriver' konnte nicht geladen werden.Der Pfad für zusätzliche Treiberklassen ist 'file:///home/name/Dokumente/OOo/document/documentdriver/hsqldb.jar'.

Wie kann ich das Problem angehen?
- Muss der Treiber in einem bestimmten Pfad liegen?
- Kann ich diese Pfade in Base irgendwo abstimmen oder anpassen?

Freue mich auf einen Tipp.

vielen Dank u. viele Grüße

update: Habe noch eine relativ gut geschriebene Anleitung gefunden:

How to set up the jdbc driver to connect to hsqldb from libreoffice?
How to set up the jdbc driver to connect to hsqldb from libreoffice?
I am trying to "split" a LibreOffice .odb file into a HSQL database and an OpenOffice document containing forms and macros. I am trying to follow the instructions from this thread:

Within a few minutes you can convert your embedded HSQLDB to a stand-alone HSQLDB which is just a very fine database engine.

1) Download and extract the current version from HSQLDB and point the Java class path in Tools->Options->Java to the new hsqldb.jar

2) Extract the database folder from your embedded database and rename the files data, properties, script to name.data, name.properties, name.script, where "name." is an arbitrary name prefix.

3) Connect a Base document to an existing JDBC database such as jdbc:hsqldb:file:/home/chenier/hsqldb/name;default_schema=true;shutdown=true;hsqldb.default_table_type=cached;get_column_name=false (again, "name" refers to your own file name prefix). This local single-user connection gives you much more than the embedded HSQLDB.

4) Copy queries, forms and reports from the old database over to the new one.

The wizard presents me with a window expecting two inputs: a "Datasource URL" and a "JDBC driver class".


der Link:
How to set up the jdbc driver to connect to hsqldb from libreoffice?

The path to the hsqldb.jar file is set this way.

On the main Libreoffice menu, choose Tools/Options/Libreoffice and look for Java or Advanced. Click the Class Path button, and then Add Archive. Navigate to the location where the hsqldb.jar file is (apparently, /var/lib/hsqldb/lib/hsqldb.jar, in your case)

On my Debian system /usr/share/java/hsqldb.jar is a link to the actual file /usr/share/java/hsqldb-1.8.0.10.jar. Both belong to root.

Step 3 is what you have illustrated with your screenshot. Put the properly modified (for your database) long command "jdbc:hsqldb:file:/home/chenier/hsqldb/name;default_schema=true;shutdown=true;hsqldb.default_table_type=cached;get_column_name=false" in the datasource url, and put "org.hsqldb.jdbcDriver" (without the quotes in both cases) in the JDBC Driver class box. Test the class. The next part asks for a user name; use "SA" (without quotes), leave the password required unchecked, and test the connection.

das ist alles für Linux gedacht - mit dieser DB-Frage bin ich auf zwei vesch. Syst.

a- auf Manjaro-Linux und
b. auf einem WIN - XP-System

werde mal nun versuchen diese Anleitung auf die beiden Systeme zu beziehen.
Melde mich wieder u. berichte.
 
Zuletzt bearbeitet:

Ähnliche Themen

say_hello
Antworten
1
Aufrufe
563
holms
holms
G
Antworten
5
Aufrufe
338
maik005
maik005
Zurück
Oben Unten