Print java.library.path value in UnsatisfiedLinkError

XMLWordPrintable

      I recently came across a case where following error was encountered :

      $ java loadLib
      Exception in thread "main" java.lang.UnsatisfiedLinkError: no ttJdbcCS in
      java.library.path
      at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1864)
      at java.lang.Runtime.loadLibrary0(Runtime.java:870)

      We can do better and print the value of java.library.path. While here, we should check other java.lang classes to see if other exception handling improvements are possible.

            Assignee:
            Mandy Chung (Inactive)
            Reporter:
            Sean Coffey
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: