UseJava-add_jar-native-headers.rst 493 B

123456789
  1. UseJava-add_jar-native-headers
  2. ------------------------------
  3. * | The command add_jar from :module:`UseJava` module learns how to generate native
  4. headers files using option -h of javac tool.
  5. | This capability requires, at least, version 1.8 of Javac tool.
  6. | Command create_javah will no longer be supported due to the
  7. `suppression of javah tool <http://openjdk.java.net/jeps/313>`_ in the version 1.10
  8. of the JDK, so ``add_jar(GENERATE_NATIVE_HEADERS)`` must be used instead.