[CMake] java_home usage

Marc CHEVRIER marc.chevrier at gmail.com
Mon Oct 22 05:19:18 EDT 2018


Variable must be specified using upper case. So 'set (JAVA_HOME ...)'
should be OK (or environment variable JAVA_HOME is OK as well). javac is
expected to be in $JAVA_HOME/bin.


Le lun. 22 oct. 2018 à 10:16, Stéphane Ancelot <sancelot at numalliance.com> a
écrit :

> Hi,
>
> If I set java_home in cmake 3.12 , Java_JAVAC_EXECUTABLE is not using my
> java_home env but /usr/bin/javac
>
>
> what is wrong ?
>
> Regards,
>
> S.Ancelot
>
> --
>
> Powered by www.kitware.com
>
> Please keep messages on-topic and check the CMake FAQ at:
> http://www.cmake.org/Wiki/CMake_FAQ
>
> Kitware offers various services to support the CMake community. For more
> information on each offering, please visit:
>
> CMake Support: http://cmake.org/cmake/help/support.html
> CMake Consulting: http://cmake.org/cmake/help/consulting.html
> CMake Training Courses: http://cmake.org/cmake/help/training.html
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Follow this link to subscribe/unsubscribe:
> https://cmake.org/mailman/listinfo/cmake
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://cmake.org/pipermail/cmake/attachments/20181022/884f3c0a/attachment.html>


More information about the CMake mailing list