Package Details: vtk9-java 9.0.1-2

Git Clone URL: https://aur.archlinux.org/vtk9-java.git (read-only, click to copy)
Package Base: vtk9-java
Description: A software system for 3D computer graphics, image processing, and visualization. version 9 with java bindings
Upstream URL: http://vtk.org
Licenses: BSD
Conflicts: vtk, vtk9, vtk9-fix
Provides: vtk
Submitter: greyltc
Maintainer: greyltc
Last Packager: greyltc
Votes: 0
Popularity: 0.000000
First Submitted: 2021-04-28 17:51
Last Updated: 2021-05-23 10:32

Dependencies (34)

Required by (75)

Sources (2)

Latest Comments

ChrisMorgan commented on 2021-05-01 09:18

The makedepends java-runtime-openjdk=8 (JRE) needs to be changed to java-environment-openjdk=8 (JDK), or else it fails during configuration because it looks for jni.h, which belongs to the JDK, not the JRE:

CMake Error at /usr/share/cmake-3.20/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
  Could NOT find JNI (missing: JAVA_INCLUDE_PATH JAVA_INCLUDE_PATH2
  JAVA_AWT_INCLUDE_PATH)
Call Stack (most recent call first):
  /usr/share/cmake-3.20/Modules/FindPackageHandleStandardArgs.cmake:594 (_FPHSA_FAILURE_MESSAGE)
  /usr/share/cmake-3.20/Modules/FindJNI.cmake:382 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
  Utilities/Java/CMakeLists.txt:2 (find_package)

I think it also required me to run sudo archlinux-java set java-8-openjdk (I had java-15-openjdk default), but I’m not quite sure because of other muddling I was doing. If it does matter, it’d be good to (a) figure out how to make it not matter, or (b) note it somehow, most likely by adding to prepare() a check that the output of archlinux-java get matches java-8-openjdk.