Dear all, i am facing a problem while running and compiling my API's on linux system which are related to pkcs11 module. Rest of the programs are running and compiling fine but the one related to module are not.and these programs are compiling and running fine on windows system. i am using: "libmusclepkcs11" module from muscle site and pkcs11wrapper from IAIK. GetInfo is the name of one of my programs and when i compile it it is giving errors like:
GetInfo.java:53: cannot resolve symbol symbol : class DefaultInitializeArgs location: package pkcs11 import iaik.pkcs.pkcs11.DefaultInitializeArgs; ^ GetInfo.java:54: cannot resolve symbol symbol : class Info location: package pkcs11 import iaik.pkcs.pkcs11.Info; ^ GetInfo.java:55: cannot resolve symbol symbol : class Mechanism location: package pkcs11 import iaik.pkcs.pkcs11.Mechanism; ^ GetInfo.java:56: cannot resolve symbol symbol : class MechanismInfo location: package pkcs11 import iaik.pkcs.pkcs11.MechanismInfo; ^ GetInfo.java:57: cannot resolve symbol symbol : class Module location: package pkcs11 import iaik.pkcs.pkcs11.Module; \ \so on \ \\ GetInfo.java:221: cannot resolve symbol symbol : class X509AttributeCertificate location: class GetInfo byte[] encodedCertificate = ((X509AttributeCertificate) object).getValue().getByteArrayValue(); ^ 39 errors and when i try to run it as: java GetInfo libmuscleokcs11.so it is giving error like: Exception in thread "main" java.lang.NoClassDefFoundError: iaik/pkcs/pkcs11/Module even decryption with smart card is also giving error like: Exception in thread "main" java.lang.NoClassDefFoundError: iaik/pkcs/pkcs11/objects/Object i have checked my bash profile and all other things are set fine. please someone suggest me where is the problem. thanks n regards vigya _______________________________________________ Muscle mailing list [email protected] http://lists.drizzle.com/mailman/listinfo/muscle
