-
Enhancement
-
Resolution: Not an Issue
-
P4
-
None
-
9
-
generic
-
generic
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.
$ 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.