Java program containing Native Method invocations?
[*] Your program is not able to find your shared library or DLL. On Windows 95/NT, make sure that the DLL exists in a path that is included within the PATH environment variable. (This need is true for both standard (untrusted) applications and trusted applets. At least, if you use the Java Plug-in to give yourself standard Java inside a browser). On Solaris, make sure that the environment variable LD_LIBRARY_PATH includes the path of your shared library. Note that jdb looks for libraries with “_g” appended to their names. Thus, if you intend to use jdb on a Java application that invokes native methods, you must ensure that the appropriately named libraries are in jdb’s path. The “debug” nm libraries can simply be renamed copies of the nondebug libraries. For example, if your app invokes native methods in a library named mynm.dll (on Windows) or mynm.so (on Solaris), make a copy in the same directory and name it mynm_g.dll or mynm_g.so. 9. (Sect.