Closed iSecurus closed 5 years ago
The problems were caused by the api_classic.jar in the classpath and later on by the missing -noverify-flag. After removing the user classpath completely from the Debug-Configuration, re-adding the jar file for jcardsim and the -noverify option to the VM arguments everything works fine!
Hey, when I try to include jcardsim into my project for debug reasons, i got the following error:
My setup is:
With this setup i have tried differnt jcardsim versions (2.2.2, 3.0.4, 3.0.5) combined with different java versions (1.5, 1.6, 1.8) and java card versions (2.2.2, 3.0.2, 3.0.5) and created two debug configurations within eclipse:
My reserach resulted in the knowledge, that jcardsim should use the implemented APDUProxy.class, which needs an argument when calling the constructor. But when running it with Eclipse, it will load the normal APDU.class and fails with "IllegalArgumentException". But I have no idea how to fix this. Also it is curious, that everything works fine, when using the cmdline to run jcardsim.
Is there something missing in the configuration or do I miss something else? How can I configure jcardsim to run in the eclipse debugger finally?