Take a look at this issue, GraalVM supports JNI 1.8 and below.
JVM 10 and JNI 10 are two different thing. a library could need jvm 10 but only require jni 1.2. JNI 10 add module support which Skija does not need.
Change it to JNI_VERSION_1_8 I were able to build native image with GraalVM, take a look Native GUI application with SWT and Skija on Raspberry Pi
Take a look at this issue, GraalVM supports JNI 1.8 and below. JVM 10 and JNI 10 are two different thing. a library could need jvm 10 but only require jni 1.2. JNI 10 add module support which Skija does not need. Change it to JNI_VERSION_1_8 I were able to build native image with GraalVM, take a look Native GUI application with SWT and Skija on Raspberry Pi