Hi,
I have a question that may sound simple, but I haven't been able to get it to work. I am trying to write a simple page that will allow the user to put in their name and a number. I am tying to keep track of totals for each name in a database. Therefore, if someone types in a new name, I...
I figured out this one myself. The simple answer is, there is no way to set the java.library.path dynamically. The JVM caches the path when it loads, and uses that path during execution. Even though you can change the value of the path, the JVM doesn't check it anymore. The only options are...
Simply removing the ":" doesn't seem to do much good. It seems that no matter what I set the path to in the code, the default path is always used instead.
Any other ideas?
Hi,
I am attempting to load a library in Linux using a command like:
System.loadLibrary("libName");
It appears that in order for Java to find the library when I run the program, I have to somehow set a path where the library can be found. Setting LD_LIBRARY_PATH works, but I would...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.