Java Card 2.2.1 in Eclipse or NetBeans

Hi all!
I'm trying to work with my card in a Java Card 2.2.1 development environment like Eclipse or NetBeans to generate and simulate applets but I can't find any plugin that allows me to work with this version.
I searched the forum but not found a possible solution. Does anyone know what can I do?
Thanks in advance

http://netbeans.org/bugzilla/show_bug.cgi?id=189823
my netbeans bug report is now open for one year and 9 months.
It was last updated on Nov 30, 2011:
Anton Chechel <[email protected]> changed:
What |Removed |Added
Target Milestone|7.1 |7.2
but still not closed, so there is a slight hope to see something coming...

Similar Messages

  • How to run TCK using Java Card Sun reference model from eclipse

    Hi all,
    can any one help me by giving an idea about running java card TCK using sun reference model from eclipse IDE.
    Thanks
    Murali

    tck should be able to run as stand-alone (with jcre).

  • How to start java card development?

    Good Evening all,
    I am novice for java card development , from last some days I study java card and terms related to it, now i have some knowledge about applets , and API. as i read about java card 2 and 3, I think i moved to java card 2 that's why i download jcdk 2.1.
    Now i want to do something in development rather than further conceptual study. Frankly speaking I m confused where to move because different sites have different point of view so i want to execute my knowledge which i earned from last some days...
    so I want to ask
    1- which IDE would be best for java card development? { eclipse or net beans or something other}
    2- what things i would be require during java card application?{ java sdk version? jcdk version? ocf? or what}
    3- at start i want to use simulation technique to test what i made and how its work, so for this which tool or IDE would be best work for me,
    so kindly request you to guide me and show me the path where i can move and achieve what i want..
    ---------------------------------------------------------------------------------------------------Thank you in advance------------------------------------------
    Edited by: 911936 on Feb 2, 2012 10:01 AM

    Hello umer,
    last night it seems very tough to execute sample program of jcdk 2.2 but finally i make it, and i also i got the IDE - net beans that is very good for java card...
    I think i should share my knowledge here for next novice people...
    ----------------------------------------------------------------------------java card development require-------------------------------------------------------------
    Because here we use java for java card so we require
    1- java development kit (JDK) - use below link to get this.
    [get jdk here|http://download.oracle.com/otn-pub/java/jdk/6u30-b12/jdk-6u30-windows-i586.exe]
    2- Java card require java card development kit (JCDK) I think java card version 3 is latest but i used jcdk 2.2.1
    [get jcdk here|http://download.oracle.com/otn-pub/java/java_card_kit/2.2_01/java_card_kit-2_2_01-win-gl.zip]
    now  i think this is enough to start java card development...
    follow below steps
    1- install jdk 6 in c:/java/jdk1.6
    2-keep jcdk in c:/java_card_kit-2_2
    3- open command prompt and run
    a)-set JC_HOME=c:\java_card_kit-2_2
    b)-set JAVA_HOME=c:\java/jdk1.6
    c)-set PATH=%JC_HOME%\bin;%PATH%
    4-there are some sample project in scdk, if you want to get confidence , u should run one of them..
    run command- jcwde jcwde.app { jcwde is a simulator where u check what u made }
    and run this command in another command prompt- apdutool -nobanner -noatr demo1.scr > demo1.scr.jcwde.out
    You can get detail of 3 and 4 step from cJDK_Users_Guide.pdf which is present in jcdk.
    ------------------------this  is all which u need to do to get confidence in java card, but dont be over confident because in reality "the ball is not in your court yet"
    Note- if you are searching which java IDE is best for java card development then
    [click here- this is one of the best ide for java card|http://dlc.sun.com.edgesuite.net/netbeans/7.1/final/bundles/netbeans-7.1-ml-windows.exe]
    Edited by: 911936 on Feb 3, 2012 8:58 AM

  • Delete my applet in java card. Its coming 69 85 error

    hi,
    Any body give me solution for delete applet from java card.
    I am using Eclipse SDK JCOP tool. I create Shareable object in java card.
    First time i load it. Second time start to load my applet but it showing
    cm> ext-auth plain
    => 84 82 00 00 10 24 99 56 8D FE 6F CF B4 F8 E7 AB .....$.V..o.....
    69 E0 8B DD C6 i....
    (42750 usec)
    <= 90 00 ..
    Status: No Error
    cm> delete -r 0505050505
    => 80 E4 00 80 07 4F 05 05 05 05 05 05 00 .....O.......
    (9683 usec)
    <= 69 85 i.
    Status: Conditions of use not satisfied
    jcshell: Error code: 6985 (Conditions of use not satisfied)
    jcshell: Wrong response APDU: 6985
    Ignoring expected error
    cm> upload -b 250 "D:\Handheld\ObjectShare\bin\hcl\demo\server\javacard\server.cap"
    => 80 E6 02 00 12 05 05 05 05 05 05 08 A0 00 00 00 ................
    03 00 00 00 00 00 00 00 ........
    (10845 usec)
    <= 69 85 i.
    Status: Conditions of use not satisfied
    jcshell: Error code: 6985 (Conditions of use not satisfied)
    jcshell: Wrong response APDU: 6985
    Unexpected error; aborting execution
    how to solve this problem.

    hi safeer,
    I solve this problem. First I delete select applet AID. Then delete package AID.
    Now its working good.

  • How to run the simple java card program in eclipse?

    I am trying to run a simple HelloWorld program in eclipse 3.5 having java card development kit 2.2 installed in it.
    Firstly,I go to the JCWDE tab and press start..then when trying to deploy that package its giving me error like " com.hw.HelloWorld: unsupported class file format of version 50.0." can any one help me in this what is this error???n how to resolve n run this program..

    Hi,
    It is because the converter works on byte code and it only supports a subset of the Java language (see the JC specifications). It is kind of like compiling you code on Java 6 and trying to run it on Java 5. The JCDK outlines the required compiler version.
    Cheers,
    Shane

  • How to configure Java Card 3 in eclipse ?

    How to configure Java Card 3 in eclipse ? I have already configured Java Card2.2.2 by following
    1) http://eclipse-jcde.sourceforge.net/user-guide.htm
    And
    2)http://eclipse-jcde.sourceforge.net/
    the above two links.B ut for Java Card 3 when i am configuring window->preference->Java Card Home I am getting error as "Converter.jar" not found. i checked the lib and i didnt found these jar. I copied 2.2.2 converter.jar , then that jar file not matching. So please tell me how to configure this.
    Thanks in advance
    Anoop Michael

    there are many changes between 2.2.2 and 3.0.1. Folders and files are not same. EclipseJCDE is not going to work with JCDk3.0.1. Some one needs to update that plugin :).
    There is a NetBeans plugin in progress and you can try downloading latest NetBeans 6.7.1
    Some intro about the plugin can be found here http://weblogs.java.net/blog/2009/05/10/sneak-preview-java-card-tools-netbeans-67
    You can try Netbeans 6.8 nightly builds for latest changes, but it may be a while until the plugin is stable.
    -Anki.N

  • Java Card program execution on Eclipse

    Hi Dears,
    I am new to Java Card. I did setup to run Java Card programs on eclipse using http://eclipse-jcde.sourceforge.net/.
    This is my simple program below
    import javacard.security.RandomData;
    public class Main {
         public void main() {
              RandomData rd = RandomData.getInstance(RandomData.ALG_SECURE_RANDOM);
              short outLen = 10;
              byte buffer[] = new byte[outLen];
              short outOffset = 0;
              rd.generateData(buffer, outOffset, outLen);
    Compilation is successful but when I run the program I get the following error.
    Error occurred during initialization of VM
    java/lang/NoClassDefFoundError: java/lang/String
    This is very annoying. I think my run time environment is not ok for running java card programs. I am able to run Java programs but not java card programs. Any one can help please?
    Thanks,
    Regards,
    Naveed

    please post code with &#123;code} tags
    Naveed86 wrote:
    Hi Dears,
    I am new to Java Card. I did setup to run Java Card programs on eclipse using http://eclipse-jcde.sourceforge.net/.
    This is my simple program below
    import javacard.security.RandomData;
    public class Main {
         public void main() {
              RandomData rd = RandomData.getInstance(RandomData.ALG_SECURE_RANDOM);
              short outLen = 10;
              byte buffer[] = new byte[outLen];
              short outOffset = 0;
              rd.generateData(buffer, outOffset, outLen);
    }Compilation is successful but when I run the program I get the following error.
    Error occurred during initialization of VM
    java/lang/NoClassDefFoundError: java/lang/String
    This is very annoying. I think my run time environment is not ok for running java card programs. I am able to run Java programs but not java card programs. Any one can help please?
    Thanks,
    Regards,
    Naveed

  • Is there any Eclipse Pulsar and JCDE Plugin for Java Card 2.2.1?

    Hi Friends..
    I want to know is there any Eclipse Pulsar and JCDE Plugin that still supports for Java Card 2.2.1?
    Actually, currently i use Eclipse Pulsar and JCDE Plugin but it support only for Java Card 2.2.2..
    I tried to set the Java Card Preference into JCDK 2.2.1, but it couldn't be set because converter.jar isn't compatible..
    Please help me regarding this..
    Thanks in advance..

    There is, but it's very limited.
    1. Put the Library on a disk formatted Mac OS Extended (Journaled)
    2. Point both machines at it.
    3. That's it.
    But remember:
    A strong warning: If you're trying to edit the Library (that is, make albums, move photos around, keyword, make books or slideshows etc.) or edit individual photos in it via Wireless be very careful. Dropouts are a common fact of wireless networking, and should one occur while the app is writing to the database then your Library will be damaged. Simply, I would not do this with my Libraries. 
    Also
    Only one user can open a library at a time.
    Regards
    TD

  • Java Card Applet Development, Testing, Loading in Eclipse 3.2.0

    Dear friends,
    1.
    we have installed Eclipse 3.2.0, activated JCOP Tools 3.1.2, installed Java Card 2.2.1 devepment tools..
    2.
    How we can start testing and loading the java applet into JCOP31 chip ??
    3.
    It's said that we should use Java Card Workstation Development Environment (JCWDE), but we can not find it in the eclipse .
    4.
    Where we can find Eclipse menu for the
    -Converter tool
    -APDU Tool Utility
    -Java Card Workstation Development Environment (JCWDE)
    5.
    is there any resource/web/link that contains Eclipse tutorial on this Java Card Development ???
    Tks,
    hendy

    1. Good.
    2. I suggest you start testing using the simulator, however if you want to test directly on the card at once, select your card reader using the /term command and use the commands as described in help to start sending APDUs to the card.
    3. This is not a part of the JCOP tools for eclipse (which is developed by IBM and maintained by NXP), but part of the JavaCard development toolkit developed and maintained by Sun. See http://java.sun.com/products/javacard/dev_kit.html.
    4. Read the above. None of this is part of JCOP tools for eclipse.
    5. As far as I know, there is no independent newbie guide for JCOP tools, but I would check out the help function included in the tools themselves if I were you.
    Good luck!

  • Compiling java card with Eclipse

    Hi,
    I compiled and converted Java card code both from the command prompt and Eclipse in Windows XP and it worked just fine.
    However, while doing the same in Eclipse set up on a Linux(Ubuntu) machine, I am getting the following error:
    error: export file framework.exp of package javacard.framework not found.
    I have been searching around for answers to why this might be happening. However, I haven't found any. If anyone knows why, please help me out with this.
    Thanks a lot in advance.
    Best,

    Are you converting with an Eclipse plugin? If so what are you using?
    That error is because the converter can't find the EXP files from the JCDK. You may need to update a setting in the plugin to point to the JCDK.
    Cheers,
    Shane

  • JCDE (Java Card Plugin) menu is not work on Eclipse

    I want to add JavaCard Applet into my existing project on Eclipse 4.2. So,
    1.I download EclipseJCDE and extract it into the plugin folder of Eclipse.
    2.When I open the eclipse, There are 2 menus appeared that is Java Card and JCWDE
    3.I add the Java Card Applet file into my project.
    Then I have a problem.

    Your reply did not help me access an update to JAVA to work with 10.8.3 to play JAVA related games. This is a REAL PROBLEM! As I subscribe to game websites and my family cannot play these games. I have contacted Apple Support and we tried uninstalling JAVA and reinstalling it from JAVA .com. We made sure my computer (IMAC) was set up to accept JAVA was turned on and I still have the same problem. JAVA related games will not play. The error message says "An updated JAVA has not been detected" So what am I to do? Who can help me with this type of problem? Apple Support asked me to contact JAVA by phone 1-800-223-1711 but they do not have any phone support. I was directed to a site called Live Support" and they charge $80.00 to resolve problems for an Apple computer or $1.00 a minute. Great choices! I accepted this offer however Apple will not allow third party developers to help. Do you have any ideas that will really help me?

  • Java card, problems uploading applet to Nokia 6131 NFC using Jcop + Eclipse

    Hi, we are trying to load an applet in this mobil phone ( [Nokia 6131 NFC|http://wiki.forum.nokia.com/index.php/Nokia_6131_NFC_-_FAQs] )
    and NXP people has redirect the support to this forum: [JCOP Tools|http://72.5.124.111/thread.jspa?threadID=5199227&tstart=329]
    So;
    This is the complete command sequence:
    >  /term "winscard:4|OMNIKEY CardMan 5x21-CL 0"
    --Opening terminal
    /card -a a000000003000000 -c com.ibm.jc.CardManagerresetCard with timeout: 0 (ms)
    --Waiting for card...
    ATR=3B 8F 80 01 80 4F 0C A0 00 00 03 06 03 00 02 00    ;....O..........
        00 00 00 69                                        ...i
    ATR: T=0, T=1, Hist=804F0CA00000030603000200000000
    => 00 A4 04 00 08 A0 00 00 00 03 00 00 00 00          ..............
    jcshell: Unable to select Card Manager or invalid FCI: Unknown Global Platform Java Card.
    Subsequent commands might fail! Inspection might not be possible!somebody knows something about this error?
    Thanks in advance!

    The same!
    - /terminal pcsc:4
    --Opening terminal
    /atr--Waiting for card...
    ATR=3B 8F 80 01 80 4F 0C A0 00 00 03 06 03 00 02 00    ;....O..........
        00 00 00 69                                        ...i
    T=0, T=1, Hist=804F0CA00000030603000200000000
    /select A00000030603000200000000 => 00 A4 04 00 0C A0 00 00 03 06 03 00 02 00 00 00    ................
        00 00                                              ..
    (0 msec)
    <= 3B 8F 80 01 80 4F 0C A0 00 00 03 06 03 00 02 00    ;....O..........
        00 00 00 69 00 00 00 00 00 00 00 00 00 00 00 00    ...i............
        00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
        00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
        00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
        00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
        00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
        00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
        00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
        00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
        00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
        00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
        00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
        00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
        00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
        00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
        00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
        00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
        00 00 00 00 00 00 00 00 00 00 00 00                ............
    Status: 0x0000
    Error code:     0 (0x0000)
    Offending APDU: 3B8F8001804F0CA000000306030002000000006900000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
    Wrong response APDU.

  • J2me and java card, need help to communicate

    we are trying to put together a reader to read smartcards using j2me and we figure that it would be easiest if we could develop it to work with java cards rather than standard smart cards, the problem is we get garbage when we communicate to it, the chip sends us crap, any suggestions what might be wrong, any calls we might be missing, has anyone worked with j2me and java cards or smart cards, any help would be appreciated.
    einar

    .... reader app and the ME behind it .... smells like mobile ....
    First of all - if you want to have one mobile application running on this just make sure that whatever is written in ME can use drivers from the reader chip ....
    Workin on the PC is something completely different. There was one good example how to develop one host application in Java provided with the JCOP tools long ago ... I don't know if this is now in the new Eclipse tools.
    But - there was a small API provided that can give you good hints what to do - and - once you have it on the reader side - you can easily integrate ME methods with this ...

  • Java Card Applet Development

    Please I am doing my final year project on secure mobile application using Java Card Technology.
    I need to write and an application that can send SMS on a SIM card to another SIM card with the same application. The application will have a server side which manage the storage of messages and at the same time communicate information to the client on the SIM remotely. I am suppose to use wi-fi (TCP/IP) for transmission.
    Can anybody please give me ideas and possible working codes and simulators.
    I mean step by step procedure of how to start.
    THANK YOU.

    1. Good.
    2. I suggest you start testing using the simulator, however if you want to test directly on the card at once, select your card reader using the /term command and use the commands as described in help to start sending APDUs to the card.
    3. This is not a part of the JCOP tools for eclipse (which is developed by IBM and maintained by NXP), but part of the JavaCard development toolkit developed and maintained by Sun. See http://java.sun.com/products/javacard/dev_kit.html.
    4. Read the above. None of this is part of JCOP tools for eclipse.
    5. As far as I know, there is no independent newbie guide for JCOP tools, but I would check out the help function included in the tools themselves if I were you.
    Good luck!

  • Java Card Kit - development environment

    Hello!
    I need to upgrade to the latest Java Card Kit, because I need some of the classes in javacardx.framework, which is not supported by version 2.2.1.
    But some problems arises when I'm trying to use version 2.2.2
    1) It requires jdk1.5. Ok, no problem (ehh)
    2) I'm using eclipseME 1.6.0. This requires jdk 1.4.2.
    3) I downloaded WTK2.5 which supports jdk 1.5, but I cannot get this to work properly. This is the error output of WTK when my application tries to connect to the running cref-simulator:
    java.io.IOException: error 10054 during TCP read
    I have not found a solution for this problem yet. But my question is:
    What is the optimal development environment for java card 2.2.2? What kind of MIDlet-emulator and which version are people using together with java card 2.2.2? Is there a eclipse plugin that supports jdk 1.5?
    Regards
    Haavard

    Only cref can create and use EEPROM images.
    You do not communicate with cref via SATSA apdu.... In emulation environment APDU commands are forwarded via satsa-apduio.jar to any process which can accept these commands. It's a pity but you just cannot replace satsa-apduio.jar with apduio.jar from JCDK 2.2.2 (which uses T=0 by default).
    As for my proxy - it's not necessary to include it in your project - it's just an utility to accept T=0 APDU and forward them to smart-card. I think there's need to add new functionality - forwarding T=0 APDUs to other process which accepts T=1. I think it will solve your problem.

Maybe you are looking for