<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div>Alan, you had said in your original post:</div><div><br></div><div>"<span style="background-color: rgba(255, 255, 255, 0);">Using find and xargs -0 grep I have looked in both 3.7.2 and 3.9.0</span></div><span style="background-color: rgba(255, 255, 255, 0);">source code for any mention of CMAKE_Java_CREATE_SHARED_MODULE, and it<br></span><div><span style="background-color: rgba(255, 255, 255, 0);">just does not exist.</span>"<br><br>Try searching for "<span style="background-color: rgba(255, 255, 255, 0);">_CREATE_SHARED_MODULE</span>" instead... it's combined in code with the name of the language.</div><div><br></div><div>Just a hint about how to further the investigation. I'm curious what the result will be, but don't have time right now to dig in on something peripheral to my main to do list.</div><div><br></div><div><br><div>David C.</div></div><div><br></div><div><br>On Jul 25, 2017, at 5:07 AM, Eric Noulard <<a href="mailto:eric.noulard@gmail.com">eric.noulard@gmail.com</a>> wrote:<br><br></div><blockquote type="cite"><div><div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">2017-07-22 0:23 GMT+02:00 Alan W. Irwin <span dir="ltr"><<a href="mailto:irwin@beluga.phys.uvic.ca" target="_blank">irwin@beluga.phys.uvic.ca</a>></span>:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">I have built CMake-3.9.0 on my Linux (Debian Jessie) platform using<br>
the bootstrap method I have always successfully used for other CMake<br>
versions (including 3.7.2).<br>
<br>
For a complex project (PLplot) which uses swig_add_module and<br>
swig_link_libraries to implement our Java binding, I get the following<br>
error message at the end of that CMake-3.9.0 output.<br>
<br>
-- Configuring done<br>
CMake Error: Error required internal CMake variable not set, cmake may<br>
not be built correctly.<br>
Missing variable is:<br>
CMAKE_Java_CREATE_SHARED_MODUL<wbr>E<br>
-- Generating done<br>
-- Build files have been written to:<br>
/home/software/plplot/HEAD/bui<wbr>ld_dir<br>
<br>
I don't get this error message for CMake-3.7.2.<br>
<br>
Using find and xargs -0 grep I have looked in both 3.7.2 and 3.9.0<br>
source code for any mention of CMAKE_Java_CREATE_SHARED_MODUL<wbr>E, and it<br>
just does not exist.<br>
<br>
By the way, I have tried the following simple project.<br>
<br>
cmake_minimum_required(VERSION 3.6.2 FATAL_ERROR)<br>
project(test_java NONE)<br>
enable_language(Java)<br>
message(STATUS "CMAKE_Java_CREATE_SHARED_MODU<wbr>LE = ${CMAKE_Java_CREATE_SHARED_MOD<wbr>ULE}")<br></blockquote><div><br></div><div>I'm curious with that.</div><div>I do currently use UseJava.cmake module</div><div><a href="https://cmake.org/cmake/help/v3.7/module/UseJava.html">https://cmake.org/cmake/help/v3.7/module/UseJava.html</a></div><div>for building some java bits in a globally C++ project.</div><div><br></div><div>I never tried  enable_language(Java)</div></div><div class="gmail_quote">what is the status of Java support as a primary language?</div><div class="gmail_quote"><br></div><div class="gmail_quote">I tried to find informations about that in the doc and mailing list but didn't find much.</div><div class="gmail_quote"><br></div><div class="gmail_quote">Could someone please point me to the appropriate place concerning this?</div><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div>Eric<br></div></div></div></div></div>
</div></div>
</div></blockquote><blockquote type="cite"><div><span>-- </span><br><span></span><br><span>Powered by <a href="http://www.kitware.com">www.kitware.com</a></span><br><span></span><br><span>Please keep messages on-topic and check the CMake FAQ at: <a href="http://www.cmake.org/Wiki/CMake_FAQ">http://www.cmake.org/Wiki/CMake_FAQ</a></span><br><span></span><br><span>Kitware offers various services to support the CMake community. For more information on each offering, please visit:</span><br><span></span><br><span>CMake Support: <a href="http://cmake.org/cmake/help/support.html">http://cmake.org/cmake/help/support.html</a></span><br><span>CMake Consulting: <a href="http://cmake.org/cmake/help/consulting.html">http://cmake.org/cmake/help/consulting.html</a></span><br><span>CMake Training Courses: <a href="http://cmake.org/cmake/help/training.html">http://cmake.org/cmake/help/training.html</a></span><br><span></span><br><span>Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html">http://www.kitware.com/opensource/opensource.html</a></span><br><span></span><br><span>Follow this link to subscribe/unsubscribe:</span><br><span><a href="http://public.kitware.com/mailman/listinfo/cmake-developers">http://public.kitware.com/mailman/listinfo/cmake-developers</a></span></div></blockquote></body></html>