OK thanks. I have subsequently downloaded the 200 build and installed it. As far as compiling with Eclipse, I followed the instructions for cloning the code and creating a project within Eclipse. It showed the 2 errors. The console complained about could not find 'org.h2.tools.console' hence my comment. It now now works with the jar I built.
Reading up after your comment about multiple statements in one string I have also rewritten my code to split my sql files up into individual SQL statements and used executeBatch() to run them. This now works on build 200. Thanks for your time. On Sunday, 12 July 2020 09:35:44 UTC+1, Evgenij Ryazanov wrote: > > build.cmd jar (or ./build.sh jar on Linux, OS X, etc.) in h2 subdirectory > produces jar file with exactly the same content as included into official > releases in bin/h2-***.jar. It has H2 Console and command-line Shell tool, > so I don't understand what do you mean by tools. >> >> > You need Java 8, 9, 10, 11, or 12. Build script isn't compatible with > newer versions (but H2 supports them too). > > If you want to compile H2 in Eclipse, add only h2/src/main as a source > directory. You can also add h2/src/test and h2/src/tools, if you need to > run unit tests or some other code. Don't add other directories as source > directories. But for you there is no reason to use Eclipse for compilation > of H2. > -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/h2-database/4592c911-e8ed-4515-8e3b-6a7b64a63903o%40googlegroups.com.
