如何在Intellij中运行java卡小程序?

如何在Intellij中运行java卡小程序?,java,intellij-idea,javacard,Java,Intellij Idea,Javacard,我是Java卡SDK的初学者。我正在学习,并且在github中发现了一个简单的示例 public class HelloWorld extends Applet { protected HelloWorld() { register(); } public static void install(byte[] bArray, short bOffset, byte bLength) { new HelloWorld(); } /** * @noinspection Unu

我是Java卡SDK的初学者。我正在学习,并且在github中发现了一个简单的示例

public class HelloWorld extends Applet {

protected HelloWorld() {
    register();
}

public static void install(byte[] bArray, short bOffset, byte bLength) {
    new HelloWorld();
}

/**
 * @noinspection UnusedDeclaration
 */
public void process(APDU apdu) {
    byte[] buffer = apdu.getBuffer();
    short lc = apdu.setIncomingAndReceive();
    apdu.setOutgoingAndSend(ISO7816.OFFSET_CDATA, lc);
}
}

我正在使用IntellijIDE。我的问题是,我不知道如何运行配置/调试配置?很简单,我想运行我的应用程序。在eclipse中,一切都很简单,但我不喜欢

谢谢大家

你可以下载并编译/链接。这样,您就不需要模拟器设置。要在调试后为Java卡本身编译,只需设置Oracle的Java卡开发环境