[Bug 266086] devel/cmake: cmake fails to find specific Java version when several Java versions are installed

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Aug 29 17:19:27 BST 2022


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=266086

--- Comment #11 from Tobias C. Berner <tcberner at freebsd.org> ---
(In reply to Yuri Victorovich from comment #10)
It should generally use ${JAVA_HOME}/bin/java [1] -- what I meant is, that the
custom-commands in surelog don't use ${Java_JAVA_EXECUTABLE} but 'java' -- so
even if cmake were able to find the one you want, the target would still
execute the one in path :)


[1] https://github.com/Kitware/CMake/blob/master/Modules/FindJava.cmake#L89

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the kde-freebsd mailing list