Dear all,<div><br></div><div>I am trying to install vtk from aur(archlinux user repo). And I&#39;ve got the following message:</div><div><br></div><div>-- Could NOT find JNI (missing:  JAVA_AWT_LIBRARY JAVA_JVM_LIBRARY JAVA_INCLUDE_PATH JAVA_INCLUDE_PATH2 JAVA_AWT_INCLUDE_PATH) </div>

<div><br></div><div>I thought it was because the absence of JNI. But it is not.</div><div><br></div><div>I&#39;ve tried to write a simple CMakeLists.txt on my own including find_package(JNI).</div><div>The CMakeLists.txt works fine:</div>

<div><br></div><div>-- found JNI.</div><div><br></div><div><br></div><div>Any ideas about this weird things?</div><div><br></div><div><br></div><div>Best,</div><div>Xin</div>