我如何在Intellij中运行java卡applet?

问题描述:

我在的Java卡SDK.I'm学习的初学者,也是我发现github上我如何在Intellij中运行java卡applet?

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); 
} 

}

我使用的IntelliJ ID。我的问题,一个简单的例子是,我不“知道我怎么可以配置运行/调试配置呢?很简单,我想运行我app.In日食一切都很简单,但我不喜欢它enter image description here

谢谢大家

您可以下载jCardSim和编译/链接反对。这样你就不需要模拟器设置。为了在调试后编译Java Card本身,您可以简单地设置Oracle的Java Card开发环境。