Page 1 of 1

A strange issue about JavaCard version

Posted: Tue May 23, 2017 3:50 am
by ngana
I am experiencing a strange issue. For the same APDU command, when I run my applet on Java Card 2.1.1, it returns 0x9000, but returns 0x6D00 on Java Card 2.2.2. As we all know, JavaCard 2.2.2 is compatible with JavaCard2.1.1, so why does this happen?
Hope experts here figure me out.

Re: A strange issue about JavaCard version

Posted: Tue May 23, 2017 4:52 am
by tay00000
What is the applet you are trying to run or maybe provide a code sample and also the model and version of the card that is causing the problem.

Re: A strange issue about JavaCard version

Posted: Tue May 23, 2017 5:55 am
by mabel
0x6D00 indicates that the INS value is not supported.

I guess that this INS value is supported by JavaCard2.1.1, and it doesnot work on JavaCard2.2.2.

Anyway, it is hard to tell without seeing example code.