Hi everyone,

I’m trying to build and run my software using JDK 19 which has a direct
dependency on Apache Lucene 9.6 built with JDK 17 and I’m running into
below exception due to Panama APIs. Is this expected behaviour? Any help
would be highly appreciated.

Exception in thread "main" java.lang.LinkageError:
MemorySegmentIndexInputProvider is missing in Lucene JAR file
    at 
org.apache.lucene.store.MMapDirectory.lookupProvider(MMapDirectory.java:437)
    at 
java.base/java.security.AccessController.doPrivileged(AccessController.java:318)
    at 
org.apache.lucene.store.MMapDirectory.doPrivileged(MMapDirectory.java:395)
    at org.apache.lucene.store.MMapDirectory.<clinit>(MMapDirectory.java:448)
    :
    :



Thanks,
Shubham

Reply via email to