h2*.jar does not work -- you need to use the actual filename, eg:

java -cp h2-1.4.196.jar org.h2.tools.Server

On 23 July 2018 at 01:58, Thomas <[email protected]> wrote:

> Hello,
>
> I want to setup the ODBC-Connection to H2 to connect a database with
> MS-Access. Therefore I followed the manual at https://www.h2database.com/
> html/advanced.html#odbc_driver
>
> I installed the PostgreSQL ODBC driver and added the classpath to the
> windows environment variable.
> Now I want to start the server with the command "java -cp h2*.jar
> org.h2.tools.Server" at the windows command-line. I am getting the error
> "mainclass org.h2.tools.Server could not be found or loaded".
>
> What can I do to fix that? What do I have made wrong?
>
> Thanks for your help and tips in advance.
>
> Regards,
> Thomas
>
> --
> You received this message because you are subscribed to the Google Groups
> "H2 Database" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at https://groups.google.com/group/h2-database.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups "H2 
Database" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/h2-database.
For more options, visit https://groups.google.com/d/optout.

Reply via email to