diff options
author | 2017-06-23 10:18:14 -0700 | |
---|---|---|
committer | 2017-06-23 10:21:45 -0700 | |
commit | 4cc35257f1f3613aae65a42b96e5ea5bba785f66 (patch) | |
tree | 58beae8a9f951fe337c8fe3216cb106300377f46 | |
parent | 8604f612a1b60a81deaa6330b8614f2b710ee488 (diff) |
Java: NativeLibrary: Fix URL in error message.
And add some detail.
Inspired by #11015
PiperOrigin-RevId: 159962478
-rw-r--r-- | tensorflow/java/src/main/java/org/tensorflow/NativeLibrary.java | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/tensorflow/java/src/main/java/org/tensorflow/NativeLibrary.java b/tensorflow/java/src/main/java/org/tensorflow/NativeLibrary.java index d817239919..15f7b99135 100644 --- a/tensorflow/java/src/main/java/org/tensorflow/NativeLibrary.java +++ b/tensorflow/java/src/main/java/org/tensorflow/NativeLibrary.java @@ -64,9 +64,11 @@ final class NativeLibrary { if (resource == null) { throw new UnsatisfiedLinkError( String.format( - "Cannot find TensorFlow native library for OS: %s, architecture: %s. " - + "See https://github.com/tensorflow/tensorflow/tree/master/java/README.md " - + "for possible solutions (such as building the library from source).", + "Cannot find TensorFlow native library for OS: %s, architecture: %s. See " + + "https://github.com/tensorflow/tensorflow/tree/master/tensorflow/java/README.md" + + " for possible solutions (such as building the library from source). Additional" + + " information on attempts to find the native library can be obtained by adding" + + " org.tensorflow.NativeLibrary.DEBUG=1 to the system properties of the JVM.", os(), architecture())); } try { |