find_package(Java) does not set Java_INCLUDE_DIRS
Documentation states that the following should be set by calling find_package(Java):
# Java_INCLUDE_DIRS - Full paths to all include dirs. # Java_LIBRARIES - Full paths to all libraries.
They are not. There is no reference to these other than in the comments in FindJava.cmake. Other variables set correctly.
Kind regards, Richard.