Re: [Tpm4java-users] problem regarding javaddl & java.library.path
Brought to you by:
tews
From: Erik T. <er...@de...> - 2009-07-23 21:25:21
|
Hi, /dev/tpm is read and writeable by the user who is running the code? Am Donnerstag, den 23.07.2009, 21:53 +0100 schrieb Daniel Pina: > 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 |