How to delete an existing applet on Java Card
843851May 15 2003 — edited May 16 2003I've tried to test the CounterTerminalApp in the JCOP Toolsets, it worked. Now, I try the Loader in order to upload an applet by programming. The problem is: I do it in an "empty" Java Card --> OK, but when I retry to do it, it raises an error:
EX: msg null, class class com.ibm.jc.JCException
com.ibm.jc.JCException:
Error: 6a80
APDU: 6A80
at com.ibm.jc.JCUtil.check9000(Unknown Source)
at com.ibm.jc.SecurityDomain.installForLoad(Unknown Source)
at Loader.load(Loader.java:78)
at Loader.main(Loader.java:16)
I think because of the existing applet, but after using JCShell to delete the applet and the package, and got the same error.
The question is: how to solve this problem, and can I do it by programming. I didn't find any method which allows to delete by programming.
Thanks for your helps