Java Card Manager - plugin detail

Tool that provides functionality to manage content loaded on smart cards of Java Card technology. Contains APDU manager which enables sending of APDU commands to card or JCWDE simulator. So you can communicate with cards and applets (as well as those running in simulator) from your favorite NetBeans IDE.

NetBeans Plugin - Java Card Manager
Plugin owner: vlasakcz
Added: 2008-07-01
License: freeware
Downloaded: 7,687 times
 4.25, by 4 users

Plugin Log Show log

Versions available

Download plugin   Download size: 0.17 MB   Last Update: 2008-07-01

What's new in this version

Verifications for NetBeans versions

Plugin is not subject to any verification

Download plugin   Download size: 0.17 MB   Last Update: 2008-07-01

What's new in this version

Verifications for NetBeans versions

6.0 verification PENDING See verification details


Java Card Manager is a plug-in that enables to send APDU commands to Java card or Java card simulator and provides the functionality for basic card content management (installing applets, loading and deleting load files).

After the installation of Java Card Manager plug-in a node called 'Java Cards' is added to the tree located on the 'Services' tab. Using this node it is possible to display cards connected to PC. Throug Java Card nodes it is posible to send APDU commands to card, browse card content, load content to the card or open secure channel with applets on the card.

Java Card Manager plug-in supports Open Platform 2.0.1 specification. Plug-in has been tested with GemXpresso cards. Every feedback about using this plug-in with card of different type or vendor is welcomed.

Simple user guide for plug-in is available for download.

Plug-in uses library (as NetBeans library wrapper) called SimpleSmartCardAPI. This library has been developed to simplify access to card and brings more object oriented way how to communicate with card or applet or simulator. SimpleSmartCardAPI depends on javax.smartcardio package from JDK 1.6 so 1.6 version of Java is necessary for installing Java Card Manager plug-in (JDK version check is made during installation of plug-in).

Binary distribution of SimpleSmartCardAPI is available here and documentation in JavaDoc is available here.

Source code of SimpleSmartCardAPI library can be downloaded on this location.

Source code of Java Card Manager plug-in can be downloaded here.

For successful install of this plug-in It is necessary to install both .nbms included in .zip file.

Note about future versions:
There is a lot of space to extend the functionality of this plug-in. Future versions of plug-in can add new function like GlobalPlatform support, support card manager keys management, support for managing security domains, etc. Beside that Java Card Project type plug-in is in development and experimental version with basic functions (applet templates, conversion to .cap file, run applet in simulator,...) has been already done. Probably I'll upload it here in the near future too.

[ You have to be logged in to be able to comment. ]

User Comments



I have downloaded successfully and working fine ..

CEO at
Posted by anna123 on Feb 02, 2016


Hello, I would like to know wheather there is some licence for SimpleSmartCardAPI?
Posted by martinslama on Apr 01, 2009

USB Card Reader

Hello. I use a USB card reader (GemPCTwin) but the plugin not recognizes him. Any idea with this problem ????
Posted by penovales on Dec 11, 2008

Problem charging .cap file

Hello. I was trying to charge and install a .cap file and I got this error: error in opening zip file
at Method)
at java.util.jar.JarFile.(
at java.util.jar.JarFile.(
at org.netbeans.modules.javacardmanager.actions.OpenInstallForLoadDialogAction$InstallForLoadDialogDisplayer$1.actionPerformed(
at javax.swing.AbstractButton.fireActionPerformed(
at javax.swing.AbstractButton$Handler.actionPerformed(
at javax.swing.DefaultButtonModel.fireActionPerformed(
at javax.swing.DefaultButtonModel.setPressed(
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(
at java.awt.Component.processMouseEvent(
at javax.swing.JComponent.processMouseEvent(
at java.awt.Component.processEvent(
at java.awt.Container.processEvent(
at java.awt.Component.dispatchEventImpl(
at java.awt.Container.dispatchEventImpl(
at java.awt.Component.dispatchEvent(
at java.awt.LightweightDispatcher.retargetMouseEvent(
at java.awt.LightweightDispatcher.processMouseEvent(
at java.awt.LightweightDispatcher.dispatchEvent(
at java.awt.Container.dispatchEventImpl(
at java.awt.Window.dispatchEventImpl(
at java.awt.Component.dispatchEvent(
at java.awt.EventQueue.dispatchEvent(
at org.netbeans.core.TimableEventQueue.dispatchEvent(
at java.awt.EventDispatchThread.pumpOneEventForFilters(
at java.awt.EventDispatchThread.pumpEventsForFilter(
at java.awt.EventDispatchThread.pumpEventsForFilter(
at java.awt.Dialog$
at java.awt.Dialog$
at Method)
at org.openide.util.Mutex$
[catch] at java.awt.event.InvocationEvent.dispatch(
at java.awt.EventQueue.dispatchEvent(
at org.netbeans.core.TimableEventQueue.dispatchEvent(
at java.awt.EventDispatchThread.pumpOneEventForFilters(
at java.awt.EventDispatchThread.pumpEventsForFilter(
at java.awt.EventDispatchThread.pumpEventsForHierarchy(
at java.awt.EventDispatchThread.pumpEvents(
at java.awt.EventDispatchThread.pumpEvents(

Any idea ???
Posted by penovales on Dec 11, 2008

Java Card Simulator

Hello. I installed the plugins succesfully. I use NetBeans 6.5, jdk 1.6 and JCDK 2.2.2. But when i trying start simulator, i get this error "Cannot connect to simulator. Cause: Exception during creating JavaCardSimulatorAdapter".
Help please.
Posted by penovales on Dec 10, 2008

Java Card Project


I installed the plugins needed in order to use java card manager and java card project. I have an error when i use convert.
I would like to know what verision of java card kit are you using. (I am using 2.2.2).

I am using Mac Os as well, I succeeded installing the plugins but I have error if I want to run or convert. Any advice??
Posted by lftt on Aug 15, 2008

Problem with start of Java Card Simulator.

Hi. I downloaded and successfully instaled plugin. But keep getting error " Exception during creating JavaCardSimulatorAdapter" when trying start simulator. Any idea why this happends. Tnx.
Posted by jaremija on Aug 09, 2008

Re: Create JavaCard Applet

Ok, i downloaded it, but when i tryed to install it, there is some error:

Missing required modules for Plugin JavaCardProject:
Java SE Projects [module = 45]
Posted by radchen on Aug 01, 2008

Re: Create JavaCard Applet

Now i download NetBeans 6.1 and plugin is working.
Posted by radchen on Aug 01, 2008

Re: Create JavaCard Applet

I have NetBeans 6.0.1 version.
Posted by radchen on Aug 01, 2008

Re: Create JavaCard Applet

radchen: Please, can you tell me what version of NetBeans do you have?

Well, this error is one of the reasons why I haven't uploaded it officially yet - the module has dependence on internal NB modules so there can occur such problems with dependencies.
Posted by vlasakcz on Aug 01, 2008

Re: Create JavaCard Applet

Hello, radchen.

The plug-in published here is Java Card Manager. It has not the project type functionality.

In my latest comment here, I've mentioned Java Card Project plug-in. I haven't published it on plug-in portal here yet (because it is not fully completed), however you can download it on:

Check my last comment here, there are some tips how to use this Java Card Project plug-in.
Posted by vlasakcz on Jul 31, 2008

Create JavaCard Applet

After i installed this plug-in i didnt see a Java Card Project in Create New Project window. What shall i do?
Posted by radchen on Jul 31, 2008

Re: How to create an Java Card Applet

Hi, I will try to start with a brief and simple description of Java card applet development process.

First, you will write code of the new applet. Then the code is compiled to .class file(s). After that the .class files are converted into .cap file. Cap format is used as a container for applet that will be loaded to card (and during the conversion several security checks of code are done). Class or .cap files can be run in card simulator (JCWDE for class or CREF for .cap).

Convertor and simulator tool are included in Java Card Development kit. For compliling is used normal javac.

Now you have converted applet prepared for the loading to the card. This process follows Open/Global platform specification and it must be performed by tools that are not included in Java Card Development kit. Such tool is gpshell, for instance, or Java Card manager plug-in.

So by this plug-in you can get the .cap file of applet to the card. Or delete loaded applet on the card... Or communicate with applet on the card or simulator via APDU manager component. This plug-in does nothing with applet creation.

For applet development I can recommend this tutorials:

An Introduction to Java Card Technology
Writing a Java Card Applet/

or book Java Card Technology for Smart Cards by Zhiqun Chen

or topic on forums.

As I've written in owner's notes I made a plug-in that helps with applet creation. It is not finished, has some unfinished parts (for example, cannot convert with use of different export files than those from Java Card Development kit).

You can download this plug-in (Java Card Project type) here. Java Card Manager 1.4 is needed as dependency. With latest NetBeans 6.1 the plug-in should be installed correctly.

After installing of this plug-in 'New Project' dialog will contain Java Card Project type.

During the process of creation of the project you can set several applet and Java Card settings (as well as via Java Card Project Properties menu item in project context menu /right-click on project name in Project tab/). These settings are applet/package AID and name and paths to Java Card Development kit. If you use 'Browse...' button from 'Java Card API Location' item to locate file with Java Card platform API (api.jar, api21.jar,... differs for different versions of Java Card Development kit), the plug-in will try to fill other three paths.

With new project a skeleton code of Java Card applet is created. You can compile this code (normal build), convert class files through 'Convert' menu item from project's context menu and run compiled applet in JCWDE simulator via 'Run in JCWDE' menu item from project's context menu. The plug-in uses tools from Java Card Development kit.

For example, with this plug-in you can create applet code, compile it, run it in simulator and by Java Card manager plug-in you can connect to the running simulator and send applet some commands.

Posted by vlasakcz on Jul 12, 2008

How to create an Java Card Applet

Hi, I am new in the Java Card world and I want to use your plugin because it seams to be interesting. I want to know how to create a new Applet, and how to incorporate the Java Card Kit 2.2.2 from sun.
Posted by lftt on Jul 11, 2008