google or-tools native libraries loader in java
If you have met problem when running or-tools in a packaged jar like me, you can try this code and replace Loader.class in or-tools.
It can help you to load or-tools native libraries inside your jar.
java.nio.file.NoSuchFileException: /BOOT-INF/lib/ortools-linux-x86-64-9.2.9972.jar!/ortools-linux-x86-64/