我正在尝试从我的源代码创建一个Javacard小程序。
因此,当我键入以下命令时:
converter -debug -verbose
-exportpath C:\java_card_kit-2_2_2-windows\java_card_kit-2_2_2\api_export_files
-classdir C:\smartcard-with-fingerprint-auth-master\smartcard-with-fingerprint-auth-master\Osiris\bin
-applet 0x01:0x02:0x03:0x04:0x05:0x06:0x07:0x08:0x09:0x00 Osiris osiris 0x01:0x02:0x03:0x04:0x05:0x06:0x07:0x08:0x09:0x00:0x00 1.0我收到:
Exception in thread "main" java.lang.NoClassDefFoundError:
com/sun/javacard/converter/Converter有人能帮我找出问题出在哪里吗?
发布于 2021-05-27 23:02:48
较早的Java Card开发工具包需要设置环境变量JC_HOME。它应该指向工具包的安装目录。
在您的特定情况下,需要将其设置为:
C:\java_card_kit-2_2_2-windows\java_card_kit-2_2_2
较新的Java Card SDK在运行时确定此路径。
祝你的项目好运!
https://stackoverflow.com/questions/67416340
复制相似问题