Skip to content
Advertisement

hsqldb and jdk8 compatibility [closed]

I try to use org.hsqldb.hsqldb in my Maven project. The requirement of the client is to use Java 8. The current version of org.hsqldb.hsqldb is 2.6.1, which doesn’t seem to work with Java 8. How can I observe the version of HSQLDB that compiles with Java 8?

Advertisement

Answer

First read the release notes for hsqldb:

JavaScript

The documentation clearly states that 2.6.0 needs an alternative jar to work with jdk8.

Inpect the hsqldb maven repo to verify that there is an alternative jar provided for jdk8: hsqldb-2.6.1-jdk8.jar

To import it with maven, you need to use a classifier

JavaScript
User contributions licensed under: CC BY-SA
5 People found this is helpful
Advertisement