This content has been marked as final. Show 4 replies
javax.smartcardio is only in Java 6. There is some native code etc that is included with Java 6 so you cannot just use the JAR file. You can try using jpcsc or OCF.
yes but where can we download the jar file
One of the beauty of Java is that when the Java VM does not let you do something (here: accessing a Smart Card), there is no way that a purely Java solution will add this functionality.
Hence, what you ask simply can not be done in pure Java (1.)5. Some machine-specific non-java code is required. And you did not specify your target.
Unless a jar file could contain machine-specific code (I don't know if this is the case, and I never made one such jar file), there seems to be no way a jar file could help.
The JPCSC project (a part of Muscle Card) and Open Card Framework will allow you to communicate with a smartcard in Java 5. You will need to search the internet (or old posts on this forum) to find the files and examples as I do not have either right now. I know there have been posts about OCF on the forum.