informative error message

This commit is contained in:
Roland Grinis 2021-07-09 08:25:51 +01:00
parent 1af6dbbb78
commit 6384182593

View File

@ -13,7 +13,9 @@ class JNoa {
} catch (UnsatisfiedLinkError e) { } catch (UnsatisfiedLinkError e) {
System.err.println( System.err.println(
"Failed to load the native library NOA:\n" + "Failed to load the native library NOA:\n" +
" Set JAVA_LIBRARY_PATH to the location of libjnoa.so"); " - Follow the installation instructions from\n" +
" https://github.com/grinisrit/noa \n" +
" - Set JAVA_LIBRARY_PATH to the location of libjnoa.so");
System.exit(1); System.exit(1);
} }
} }