kherud/java-llama.cpp

JNI

ys2940 opened this issue · 3 comments

java: 写入de.kherud.llama.LlamaModel时出错: com.sun.tools.javac.jvm.JNIWriter$TypeSignature$SignatureException: (@org.jetbrains.annotations.Nullable :: java.util.function.BiConsumer
环境 macOS M3,jdk1.8

Hey @ys2940 do you have to use Java 1.8 or can you upgrade to a newer version?

I want to use 1.8 if I can

Ok, the jetbrains annotations aren't extensively used in the current version anyway, so I think I can remove them for backwards compatibility. I'll do this later today.