您好,我需要有关构建Java人工制品的帮助。运行此命令进行构建时出现错误:
./configure --with-vpnc-script=~/Downloads/vpnc-script --with-java=/Library/Java/JavaVirtualMachines/jdk-14.0.1.jdk/Contents/Home --disable-nls
。
这是我得到的错误:
checking jni.h usability... no
configure: error: unable to compile JNI test program
我需要你的帮助。我正在使用发行版8.08并在Mac上构建它。 This is the official gitlab repository
Here is the content of config.log generated
谢谢
include
目录,而不是JDK本身。这应该起作用:
--with-java=/Library/Java/JavaVirtualMachines/jdk-14.0.1.jdk/Contents/Home/include