For some reason, I'm receiving a troubled dissatisfaction link error in my Java app.
This is a criminal in question:
System.loadLibrary ("psjw"); Despite the library psjw.dll being clearly in the same source package as this class.
Please help.
Be sure that psjw.dll is either on your path or java.library.path.
Ex: may be in psjw.dll / usr / lib, then your command is Java-Dajava.library.path = / usr / lib ur.package.UrClass
your test Setup using the staff down class:
public class TestLoadLibrary {public static zero main (string [] args) {string libPath = System.getProperty ("java.library.path"); System.out.println ("java.library.path =" + libPath); String librarian = "psjw"; System.out.println ("Trying to load" "+ libraryName +" ''); System.loadLibrary (libraryName); }}
Comments
Post a Comment