Hello. Android is far behind regular Java, some its parts, especially the JDBC API are still somewhere on Java 6 level, so you cannot use current H2 on this platform, it is not supported by H2 any more.
Android API 26 got various significant improvements for better compatibility with Java 7 and 8, but not in the JDBC area. Current H2 requires at least JDBC 4.2. It was released 7 years ago with Java 8, but Android still doesn't support it and has many other limitations. Java 8 by itself is not a problem if you don't support very old devices, but various missing Java APIs used by non-Android libraries, including the H2, is the real problem of this platform. The simplest solution there is to use some old release of H2 that works for you. -- 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/05ec2b33-df92-4019-b92e-f4191aff889cn%40googlegroups.com.
