Hi,

> String url = "jdbc:h2:menagerie";

> Table "PET" not found; SQL statement:
> select name, species from pet [42102-136]

This is a common problem. A common cause is that the wrong database
was opened. I suggest to use a different URL, for example
jdbc:h2:~/data/menagerie or jdbc:h2:/data/menagerie. See also
http://h2database.com/html/faq.html#database_files


$ java ~/desktop/JDBCH2app
> Exception in thread "main" java.lang.NoClassDefFoundError: /Users/
> marcc/desktop/JDBCH2app

This is not supported. Please check the Java documentation. Probably
you need to use java -cp ~/desktop:h2-1.2.136.jar JDBCH2app

Regards,
Thomas

-- 
You received this message because you are subscribed to the Google Groups "H2 
Database" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/h2-database?hl=en.

Reply via email to