Sorry above i forgot to mention the java card am using. It is JCOP21 and in its datasheet its mentioned that it specification needed are javacard development kit 2.2.1, is that may be the reason for this error?
Thanks in advance
If you have a JC2.2.1 card and you are using JC2.2.2 that could be the problem. The JCDK's (like Java) are not backwards compatible. If you can track down JCDK 2.2.1 you should have better luck.
Thank you so much for the reply. The thing is i have searched a lot for JCDK2.2.1, but am unable to find it anywhere, if you have any idea like where can get it please let me know. Thanks again.