hello all friends i need your help in java.library.path setting.i use a TPM/j API to develop an application using Trusted Platform Module (TPM) specification and to use TPM/j API i need to set java.library.path and load TBSProxy.dll. I try to set java.library.path using DOS and it not works.
C:\Users\lfgs\tpm\tpmj>java -Djava.library.path=C:\Users\lfgs\tpm\tpmj\lib\ TBSProxy.dll
and it return java.lang.NoClassDefFoundError
is there any error in my coding/syntax?
and then i use netbeans and execute java file with the contents
System.setProperty("java.library.path", "C:\Users\lfgs\tpm\tpmj\lib");
System.loadLibrary("TBSProxy.dll");
and this also didnt work. any java expert please correct me if i've make mistakes in the syntax.my program cannot execute when i fail to load the TBSProxy.dll files
thanks for any help