<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <p><br>
    </p>
    <br>
    <div class="moz-cite-prefix">Le 22/10/2018 à 11:19, Marc CHEVRIER a
      écrit :<br>
    </div>
    <blockquote type="cite"
cite="mid:CAHKTGrfy8Gh+jac=Gjd+bt14nVUtxTfgne7Vbv1J7GcFNWdxsA@mail.gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=utf-8">
      <div dir="ltr">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.
        <div><br>
        </div>
      </div>
    </blockquote>
    Yes, It is :<br>
    set(JAVA_HOME /usr/lib/jvm/jdk1.6.0_45)<br>
    <br>
    <blockquote type="cite"
cite="mid:CAHKTGrfy8Gh+jac=Gjd+bt14nVUtxTfgne7Vbv1J7GcFNWdxsA@mail.gmail.com"><br>
      <div class="gmail_quote">
        <div dir="ltr">Le lun. 22 oct. 2018 à 10:16, Stéphane Ancelot
          <<a href="mailto:sancelot@numalliance.com"
            moz-do-not-send="true">sancelot@numalliance.com</a>> a
          écrit :<br>
        </div>
        <blockquote class="gmail_quote" style="margin:0 0 0
          .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
          <br>
          If I set java_home in cmake 3.12 , Java_JAVAC_EXECUTABLE is
          not using my <br>
          java_home env but /usr/bin/javac<br>
          <br>
          <br>
          what is wrong ?<br>
          <br>
          Regards,<br>
          <br>
          S.Ancelot<br>
          <br>
          -- <br>
          <br>
          Powered by <a href="http://www.kitware.com" rel="noreferrer"
            target="_blank" moz-do-not-send="true">www.kitware.com</a><br>
          <br>
          Please keep messages on-topic and check the CMake FAQ at: <a
            href="http://www.cmake.org/Wiki/CMake_FAQ" rel="noreferrer"
            target="_blank" moz-do-not-send="true">http://www.cmake.org/Wiki/CMake_FAQ</a><br>
          <br>
          Kitware offers various services to support the CMake
          community. For more information on each offering, please
          visit:<br>
          <br>
          CMake Support: <a
            href="http://cmake.org/cmake/help/support.html"
            rel="noreferrer" target="_blank" moz-do-not-send="true">http://cmake.org/cmake/help/support.html</a><br>
          CMake Consulting: <a
            href="http://cmake.org/cmake/help/consulting.html"
            rel="noreferrer" target="_blank" moz-do-not-send="true">http://cmake.org/cmake/help/consulting.html</a><br>
          CMake Training Courses: <a
            href="http://cmake.org/cmake/help/training.html"
            rel="noreferrer" target="_blank" moz-do-not-send="true">http://cmake.org/cmake/help/training.html</a><br>
          <br>
          Visit other Kitware open-source projects at <a
            href="http://www.kitware.com/opensource/opensource.html"
            rel="noreferrer" target="_blank" moz-do-not-send="true">http://www.kitware.com/opensource/opensource.html</a><br>
          <br>
          Follow this link to subscribe/unsubscribe:<br>
          <a href="https://cmake.org/mailman/listinfo/cmake"
            rel="noreferrer" target="_blank" moz-do-not-send="true">https://cmake.org/mailman/listinfo/cmake</a><br>
        </blockquote>
      </div>
    </blockquote>
    <br>
  </body>
</html>