Exception in thread "main" java.lang.UnsatisfiedLinkError: Unable to
load library 'gts-0.7'
Run the "depends" program on your dll and see what other libraries it
depends on. If a dependent library can't be found, the library load
will fail.
You can also add c:\bin to your PATH variable and see if System.load
("c:/bin/gts-0-7.dll") works. If it fails, it may give you more
verbose information.
By using depends.exe I see that there are several supporting libraries
that must be added as well. Thank you for pointing me towards this
possible solution and to this program!
I've noticed that some dll files are referred to by other than their
file names; is there a way to confirm that I should be using gts-0.7
to point to this dll? I've also tried 'gts' and 'gts-0.7.dll' with
the same results.
gts-0.7 is the proper "name". ".dll" gets appended automatically if
needed. Library loading is done by referencing a file name, so some
other string wouldn't work.
I have been unused to working with dlls; thank you Timothy for ruling
out those causes of error.
Richard