java - load an stk applet into a sim card -


i beginner in developpement, trying load stk applet sim card, question :

i have stk applet code source.

i have smart card reader (gemplus pc/sc)

i have sim card , administration code

i installed eclipse , added javacard , sim api libraries

when try run applet error :

    charger : la classe imsimanager.class est introuvable. java.lang.classnotfoundexception: imsimanager.class @ sun.applet.appletclassloader.findclass(unknown source) @ java.lang.classloader.loadclass(unknown source) @ sun.applet.appletclassloader.loadclass(unknown source) @ java.lang.classloader.loadclass(unknown source) @ sun.applet.appletclassloader.loadcode(unknown source) @ sun.applet.appletpanel.createapplet(unknown source) @ sun.applet.appletpanel.runloader(unknown source) @ sun.applet.appletpanel.run(unknown source) @ java.lang.thread.run(unknown source) 

and appletviewer window appear " applet non inisialized" message.

please can help? need know how can load applet sim card ? suggestions welcome

thank you.

you can't run sim applets in eclipse ide without using simulator , need use sim card simulator (it can plugin ide also) or try run applet on real sim card.

moreover, uploading (and installing) applets, first of need convert program cap file. there tool in java card development kit named converter can use convert applets cap files.

instead of using converter tool directly, can use eclipse-jcde plugin work tool , convert applets.

after converting need upload cap file on sim card. can use already-written open source tools aim goal. globalplatformpro well-documented one.

note : i'm afraid if java card development kit able convert applets proprietary sim apis cap files. applets contains java card api, can use simply.


Comments

Popular posts from this blog

java - Custom OutputStreamAppender not run: LOGBACK: No context given for <MYAPPENDER> -

java - UML - How would you draw a try catch in a sequence diagram? -

c++ - No viable overloaded operator for references a map -