graalvm-examples
graalvm-examples copied to clipboard
Update example to be usable with GraalVM 19.3.1
I tried to get this example running with GraalVM 19.3.1 (11) but somehow this did not work. Obviously a lot has changed since this example was created. Ideally I would like to get SQLite working with just the native-image Maven plugin and without having to provide extra source code. Is that possible? And I'd like that to work with the latest version of SQLite which is
<!-- https://mvnrepository.com/artifact/org.xerial/sqlite-jdbc -->
<dependency>
<groupId>org.xerial</groupId>
<artifactId>sqlite-jdbc</artifactId>
<version>3.30.1</version>
</dependency>
Pinging - not sure if 20 is viable now.
Tried it on Graalvm 20.0.0, the necessary configuration reduced a lot, but is yet required. Unfortunately palantir gradle plugin doesn't support Native Image from Graalvm 19.3.
You can check the updated sample, it expects you to configure native-image on PATH