From: Ronald T. <ron...@ia...> - 2012-05-29 09:08:56
|
Michael, This is a very curious bug that has never happened in my tests, especially as the library loading mechanism has worked fine for years. jTSS has been tested against various versions of the JRE/JDK and also different Windows releases. Could you be using a very new or very old JRE? Or did you do some manual installations or configurations of class- and library paths? Please specify your exact configuration. Ronald On 05/28/2012 05:52 AM, Michael StJohns wrote: > In the initializer for iaik.tc.tss.impl.java.tddl.TcTddlVista you > programatically append a ".dll" to the end of the library name (either > jTssTddlVista or jTssTddlVistax64 and then feed that to > "System.loadLibrary()". > > The problem is that System.loadLibrary does mapping of the name you pass > in to append the appropriate suffix based on the type of operating > system. So "jTssTddlVista.dll" gets mapped to "jTssTddlVista.dll.dll" - > which obviously appears nowhere in the paths. > > > The fix is to not add the suffix manually. (Lines 51, 52, 77 and 78). > > I finally got the direct path to work by manually renaming a file to the > double "dll" suffix. > > Mike > > > > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Trustedjava-support mailing list > Tru...@li... > https://lists.sourceforge.net/lists/listinfo/trustedjava-support -- Dipl.-Ing. Ronald Tögl phone +43 316/873-5502 Secure and Correct Systems fax +43 316/873-5520 IAIK ron...@ia... Graz University of Technology http://www.iaik.tugraz.at |