Skip to Main Content

Java Card

Announcement

Testing banner

Javacard Helloworld Sample output not as expected

User_29PMFJan 8 2023 — edited Jan 9 2023

i am new to javacard programing and i am trying to run the Helloworld sample in eclipse and in command line :https://docs.oracle.com/en/java/javacard/3.1/guide/running-helloworld-sample-command-line.html#GUID-1C5B7DC3-CEB9-4E0C-A45E-56EFD4B0A0AF

i completed the installation as shown using eclipse 4.8 and everything seems to function, but when i run the "create applet" script in eclipse i get SW: 0x6443 ( i get 0x9000 when i select the installer applet)
quick searching sw:64 43: means applet not found

This is the build console i get in eclipse. i am suspecting the last line have something to to with it but i am not sure.
4.PNG

running the Sample using command line i get a different output from the one provided as expected results:
my output file:
5.PNGexpected output file:
6.PNG

I am thinking that the cap file is not being uploaded to the simulator card but idk what to do to fix this.

Comments
Post Details
Added on Jan 8 2023
0 comments
56 views