Page 1 of 1

Get 6A80 when installing applet into card

Posted: Fri Dec 25, 2015 3:12 am
by KevinAli
I am developing an applet which has to implement BigNumber datatype. I can install my applet successfully in JCIDE simulator, but when I install it to my real cards, it returns sw=0x6A80. I research for some time and find that if I comment the line

Code: Select all

 import javacardx.framework.math.BigNumber;


My applet can be installed properly into the card. Why does it work well in simulator, but fail in real card? How can I make the declaration about BigNumber package?

Re: Get 6A80 when installing applet into card

Posted: Fri Dec 25, 2015 10:07 am
by UNKNwYSHSA
The implementation of class in package javacardx is optional. What's the type of your card, maybe it did not implement the javacardx.framework.math.BigNumber class.