Our Online Store have the new products: RFID antenna board. Currently it can work with JC10M24R and JCOP4 card chips.
Compared with normal cards, the antenna board module has a smaller size and fixed holes, which is easy to integrate in the IOT(Internet Of Things) project.

How to get JC version from java card?

Card Products

Moderator: horse dream

gorgekin
Posts: 20
Joined: Sun Nov 29, 2015 4:38 am
Points :83
Contact:

How to get JC version from java card?

Post by gorgekin » Fri Dec 11, 2015 1:45 am

I know that there are many java card versions, e.g. 2.1.1, 2.2.2, 3.0.4 .
I have a white java card. The question is how to determine JC version from the card. Anybody know that?
Thanks

User avatar
UNKNwYSHSA
Posts: 630
Joined: Thu May 21, 2015 4:05 am
Points :3053
Contact:

Re: How to get JC version from java card?

Post by UNKNwYSHSA » Mon Dec 14, 2015 5:17 am

Code: Select all

javacard.framework 
Class JCSystem
java.lang.Object
  javacard.framework.JCSystem

getVersion
public static short getVersion()Returns the current major and minor version of the Java Card API.

Returns:
version number as byte.byte (major.minor)
sense and simplicity

Post Reply Previous topicNext topic

Who is online

Users browsing this forum: No registered users and 23 guests

JavaCard OS : Disclaimer