# HG changeset patch # User dholmes # Date 1543462175 18000 # Node ID d537553ed6398d3bc4607599837207f766720092 # Parent 1d520c3761050e01b4e317d0252afefa8b513a7a 8214332: Add a flag for overriding default JNI library search path Reviewed-by: erikj, dholmes Contributed-by: Jakub Vanek diff -r 1d520c376105 -r d537553ed639 doc/building.html --- a/doc/building.html Wed Nov 28 18:16:39 2018 -0800 +++ b/doc/building.html Wed Nov 28 22:29:35 2018 -0500 @@ -464,6 +464,10 @@
  • --with-jvm-features=<feature>[,<feature>...] - Use the specified JVM features when building Hotspot. The list of features will be enabled on top of the default list. For the custom JVM variant, this default list is empty. A complete list of available JVM features can be found using bash configure --help.
  • --with-target-bits=<bits> - Create a target binary suitable for running on a <bits> platform. Use this to create 32-bit output on a 64-bit build platform, instead of doing a full cross-compile. (This is known as a reduced build.)
  • +

    On Linux, BSD and AIX, it is possible to override where Java by default searches for runtime/JNI libraries. This can be useful in situations where there is a special shared directory for system JNI libraries. This setting can in turn be overriden at runtime by setting the java.library.path property.

    +

    Configure Arguments for Native Compilation