Re: [Tpm4java-users] problem regarding javaddl & java.library.path
Brought to you by:
tews
From: Andrés R. L. <des...@ho...> - 2009-07-23 21:15:52
|
Hello, I remember that when i was programming with TPM4JAVA in linux i was also using tpmemulator, a kernel module for linux that emulates a TPM. Are you using tpmemulator? You can download it from the project page http://developer.berlios.de/projects/tpm-emulator/ Hope it can help you. From: Daniel Pina Sent: Thursday, July 23, 2009 10:53 PM To: tpm...@li... Subject: [Tpm4java-users] problem regarding javaddl & java.library.path Hello all, I have reached a confusing error while programming with tpm4java. Using SimplePrivacyCA.creatCA() makes no problem, but as soon as I code TssHighLevel highLevel = TssFactory.getHighLevel(); I get this error output: Exception in thread "main" java.lang.UnsatisfiedLinkError: no javaddl in java.library.path at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1698) at java.lang.Runtime.loadLibrary0(Runtime.java:840) at java.lang.System.loadLibrary(System.java:1047) at de.datenzone.tpm4java.TddlJniDeviceDriver.<clinit>(TddlJniDeviceDriver.java:47) at de.datenzone.tpm4java.TssFactory.getLowlevel(TssFactory.java:164) at de.datenzone.tpm4java.TssFactory.getHighLevel(TssFactory.java:182) at Utils.TPMOwnership.main(TPMOwnership.java:45) I am using linux, 2.6.28-13-generic Ubuntu with openjdk 1.6. I have already tried System.load(path) to get the javaddl file but I get: Exception in thread "main" java.lang.UnsatisfiedLinkError: Can't load library: /home/daniel/tpm4java-0.9.0-src/dist/lib/javaddl I have tried this at netbeans & eclipse with same results, I am using the VM option (-Djava.library.path= path) as well. Anyone has an idea? Regards, Daniel -------------------------------------------------------------------------------- ------------------------------------------------------------------------------ -------------------------------------------------------------------------------- _______________________________________________ Tpm4java-users mailing list Tpm...@li... https://lists.sourceforge.net/lists/listinfo/tpm4java-users |