Getting a Java Card

I am very new to the javacard technology. What do you need to get started?? do you need a card and reader?? or what? where do you get one? where do u get the api or development kit.
thanks

Go to Sun's Java Card product web site and download the kit. Read the specs and samples

Similar Messages

  • Where to get Hardware (Java Card & Readers)

    Hello
    I am new to Java Card Technology. well i have Downloaded the Java Card 2.1.2 Devlp Kit. Thats fine , But from where should i get Hardware like Java Cards & Readers. I am working in Research Institute.
    & wat are the steps to start with it.
    Please guide me soon.

    Sun doesn't provide cards or readers. Their kit is serves two purposes. One is for the integrators that are shipping cards and readers. The other purpose is for developers to learn how to develop applet without a card. For example, no one is shipping 2.1.2 cards yet,( I don't think) but you can still develop a 2.1.2 applet with Sun's kit. You just won't have a card to deploy you applet to.
    If you develop a 2.1.1 applet you can use Gemplus cards and deploy your applet there.
    If you want to start developing go to www.javasoft.com/products/javacard. Download a sdk, and read tutorials.

  • How to get a java card memory size info ?

    Hi everyone ,
    I want to get my card's memory size and free memory size .I appreciate it if anyone could help me with these questions :
    1 . Is there any way to find out card's defferrent memories size (EEPROM , ROM , RAM , FLASH) from Get Data command or any other apdu commands ?
    2 . is there any function in the API which we could use to reach memory size within an applet ? I found a function named GetMemorryAccessInstance in JCRE 2.2.2 API but I need something more global for all API versions .
    3 . Which Memories size information do we have access to ?
    Best Regards,
    Shemeine

    Hi Shemeine,
    Some cards have proprietary APDU's to find the free memory on a card. Even on cards that have such an APDU, you may have to have it enabled when the card is produced.
    As for a way to find it programatically, you can use:
    JCSystem.getAvailableMemory(JCSystem.MEMORY_TYPE_PERSISTENT);
    JCSystem.getAvailableMemory(JCSystem.MEMORY_TYPE_TRANSIENT_DESELECT);
    JCSystem.getAvailableMemory(JCSystem.MEMORY_TYPE_TRANSIENT_RESET);The problem with these is they return a signed short. This will only show up to 32KB of free memory. If you have more than this, you will have to allocate some memory using new byte[32*1024] until you start seeing results less than 32KB. You then work out how many blocks of 32KB you had to allocate to reach this state. The types of memory you can find are self explanatory.
    Cheers,
    Shane

  • Some questions about Java card.

    Hello, everyone. I am a rookie in Java card. My major focuses in IC design so I have some questions to ask.
    1) As I understand, Java card technology is just a platform.So the regular processor can be used for Java card? What we need to do is just software?
    2) How to get the Java card license? All the Java card tech file are released to customers. And how much is the license fee?
    3) How much one Java card cost?
    Thanx.

    Hi,
    1) Yes that's right the only think that you have to bother on a JavaCard is the software part. You will have to develop an applet that you will then download and instanciate in your JavaCard.
    2) For any technical specifications and JavaCard SDK, have a look to this URL:
    http://java.sun.com/products/javacard/index.jsp
    Regarding the licensing, yo may find some information at this URL:
    http://www.internetnews.com/dev-news/article.php/70381
    3) The cost of a JavaCard depends on the volume, the card manufacturer. I think, the price of a JavaCard for low volume is from 5 to 10 USD. But you better do some enquiry with a card manufacturer.
    Regards.
    Thomas
    link: http://jaccal.sourceforge.net/

  • About Java Card API 2.0

    Dear all,
    I want to get the Java Card API 2.0 but dont know where to get it.
    I go to the web pages of Sun but still cant find it.
    Do some body know where to get it or just have it and be able to send to me ?
    My e-mail is [email protected]
    Thank you very much .
    Angel Wang Taiwan.

    The reason I want Java Card 2.0 API is that
    I want to test something on my card
    because I meet some unkonown problems when I used API 2.1 .
    But now , all problems are fixed .
    So , I will continue to use API 2.1
    However, thank you very much.

  • Java card virtual machine

    java card virtual machine
    Is java card virtual machine support java code written in a java standard edition....
    and what are the features and specification of java card virtual machine
    how to get the java card virtual machine sdk and work with that in netbeans

    1.Whether JCVM is Portable to different platform?Are you a java card user or a java card manufacturer?
    As user this is not your concern. the JCVM is an inseparable part of your java card.
    3.What is the use of Cref in JCVM.Whether that helps in portability?CREF is the "Java Card Reference Implementation". It allows you to run java card applets by simulating a java card environment on a common PC. It's intention is to be executed in an environment with an 32bit processor and lots of ram (compared to current smart cards). IMHO cref can not be ported to any current smart card platform.
    Jan

  • Where can I buy Java Card and get the JCOP?

    I have searched this forums to find out where I can buy Java Card and get the JCOP, but most links are disconnected and information is incorrect.
    Recently, if someone purchase small amount of the Java Card and get the JCOP, please share your information with me.
    I contacted the Gemalto, but they only sell big amount of Java Card to customers and I also contacted the usasmartcard.com several times via e-mail, phone and fax but they did not answer for my call. it seems they closed their business.
    I really want the information where I can buy small amount of Java Cards and get the JCOP.
    I will appreciate your reply.
    Thanks

    I searched through google and found the following shops:
    http://www.motechno.com/ibm-java-card-jcop.0.html?gclid=CK_IrtOfkY8CFRF_TAodazMRFg
    http://www.smartcardgroup.com/shop.php
    http://www.smartcardsource.com/
    Regarding the JCOP Tools you should contact NXP. Searching this forum will also help you.

  • [Ask] Getting Started to Java Card 2.2.2 or 3.0

    Hi Friends..
    I'm currently tasked to create Java Card application that would be loaded to MIFARE / DESFIRE Card..
    How to solve it?..
    I have Omnikey Cardman 5321 SmartCard Reader, and i have MIFARE and DESFIRE Card.
    I've tried to created simple Java Card application (Java Card 3.0)..
    Actually, i prefer Java Card 3.0 because its based on Servlet.. (i'm more familiar with Servlet than Applet :) )
    Could i load that application onto MIFARE / DESFIRE Card?..
    Is there any Card that have supported for Java Card 3.0?..
    or do i've to use Java Card 2.2.2?..
    How to getting started with Java Card 2.2.2?..
    is there any books that described about it?..
    Thanks in advanced..

    hanks safarmer for your reply..
    yes, i've compiled and run that code in Netbeans 6.9m1, but i got this message error :
    Exception in thread "main" javax.smartcardio.CardException: connect() failed
            at sun.security.smartcardio.TerminalImpl.connect(TerminalImpl.java:67)
            at javaapplication1.Main.main(Main.java:32)
    Caused by: sun.security.smartcardio.PCSCException: SCARD_W_UNRESPONSIVE_CARD
            at sun.security.smartcardio.PCSC.SCardConnect(Native Method)
            at sun.security.smartcardio.CardImpl.<init>(CardImpl.java:65)
            at sun.security.smartcardio.TerminalImpl.connect(TerminalImpl.java:61)
            ... 1 more
    Java Result: 1The card's status is SCARD_W_UNRESPONSIVE_CARD.
    How to solve this? How to make the SmartCard become a "RESPONSIVE CARD"?..
    Please help me regarding this..
    Thanks in advance..

  • 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 ...

  • How do I test a Java card applet with different AIDs on the fly?

    ... Like sweeping cards from employees in a queue of people lining up in the morning?
    When I created my applet, the aid is a fixed value inside the class.
    Whenever I wanted to test it with another value, I changed that AID and rerun the applet.
    I find it very cumbersome that needs to be rerun and rerun, over and over again.
    How do I test the applet easily with any values of AIDs that I'd like to put in, on the fly.
    I know I can't simulate the sweeps of card in the applet because I can't have a main method with a signature
    of Strings[] args or String[] args. I can only have JUnit to help me out, but still java card doesn't allow either
    main(Strings[] args) or TestCase to inherit from.
    Thanks
    Jack

    your question is hard to understand but:
    an applet always has one definite AID and you cant change it after install as far as i know
    a) you want to test many cards with diffrent AIDs?
    ->send a list of select commands and check the return values
    b)you want one card with the same applet to be available for many AIDs?
    ->install many dummy applets forwarding the commands to one core applet
    c)i think i didnt get your point :/

  • Where can i find a complete course and some samples about using java card !

    hello !
    i am new to java card and i am seeking for complet course and samples of how i can use this new developement kit and to get familiarized with it !
    any help will be very appreciated
    thanks

    i have got t JCDevKit_User_Guide.pdf this file describes the using of jav card ! but when i tried to execute what it said on dos i did it succifully but i could not see the result? i mean is there an applet to se or to integrate in an html file or to use elswhere?
    i mean , how nomalaly can i use the files generated in the sample �? where to integrate them and where to use them?
    please help me and excuse my exhaustive questions!
    thanks

  • How to load a java card applet into a java card

    Dear All,
    I am a novice to java card technology..
    I have done some search on how to load a java card applet into a smart card but haven't found a satisfactory answer. I have read about installer.jar and scriptgen tool but I want to load the applet from a java program and not from command line. It would be of great help if somebody can help me out.
    If somebody can share a sample program which load a javacard applet(.CAP file) into a smart card, I will be very thankful.
    I am able to find some client applications which help us send APDU commands and recieve response APDU's to interact with an applet loaded on to the smart card but not application which actually load the applet.
    I have heard of OCF and GP.. some say that OCF technology is outdated and no longer in use.. can somebosy throw some light on this too..
    cheers,
    ganesh

    hi siavash,
    thanks for the quick response.. i checked out GPShell as suggested, it looked like a tool by which one can load an applet on to card and send some sample apdu commands... but I want to load the applet from the code.
    My application should look something like this.. it will be a swing applicaton where I have a drop down with a list of readers, I select the one desired and then click on "LOAD" after inserting a blank java card, at this point my applet which is stored in my DB should get loaded on to the java card. The next step should be to personalize it where I enter the values for the static variables of my applet and click "PERSONALIZE", at this point all these values should be embedded into APDU commands and sent to the java card for processing.
    For achieving this I am yet to find a comprehensive sample or documentation on the net.
    Please help...
    regards,
    ganesh

  • How to find out memory of a java card

    is there anyone could tell me that how can we check the size of the memory of a card? thank you in advance:D

    If the card is a Java Card 2.2.1, create an applet that returns
    JCSystem.getAvailableMemory(), install and queryit.
    Some other ideas for getting the free memory on card were presented in the thread "Java Forums - Free memory on card"
    http://forum.java.sun.com/thread.jspa?threadID=647894&tstart=30
    Jan

  • Java card query

    I am a student in my final year of university and im looking into using the java card as part of my final project. could somebody clarify for me some things i am unsure of. Am i able to use any smart card reader or do i need one specific for a java card, if so which one. If i can use any im ok as i can get hold of some. Also, am i correct in that i would write my java code as normal then use a program to write it to the card? any help would be much appreciated. Thanks

    Hi,
    you can use any reader.
    the java code has to be compiled , then converted using the sun-provided JCDK tool "converter" then loaded in the card using globalplatform, with the gpshell tool.
    beware, there are some restrictions to what can be written in the code. specifically, there is no "int" "float" "java.lang.String" and the memory is very small.
    and yes, objects are allocated in non volatile memory. So the "new" keyword must not be used too often, except in the initialization methods.
    why? because the JC virtual machine is always live. it does not stop. When you tear the card, the VM is suspended, then resumed when you reinsert the card, but the objects are still here.
    when an apdu is sent to the card, the JCVM calls a callback in your code. But your Applet object still exists.
    regards
    sebastien.

  • Java Card Please Help!

    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.

    Hi,
    I found the following resources helpful when starting out in JavaCard.
    JavaCard documentation:
    Java Card Technology for Smart Cards: Architecture and Programmer's Guide (Book)
    http://java.sun.com/docs/books/javacard/index.html
    JavaCard specifications:
    http://java.sun.com/products/javacard/specs.html
    Global Platform specifications:
    http://www.globalplatform.org/specificationview.asp?id=card
    Communication between SmartCards and terminals is based on ISO 7816 part 3 and 4 so if you�re completely new to the SmartCard environment it may be helpful getting an overview regarding these specifications. Unfortunately these specifications are not free, they�re available from.
    http://www.iso.org/iso/en/ISOOnline.frontpage
    Software:
    The basis for all development is the JavaCard and Java Development kits.
    Java Development Kit
    http://java.sun.com/j2se/1.4.2/download.html
    JavaCard Development Kit
    http://java.sun.com/products/javacard/dev_kit.html
    Full installation instructions can be found in JCDevKit_User_Guide.pdf which is contained in the JavaCard Development Kit distribution.
    Several companies provide IDE�s that will aid you in developing and deploying applets to JavaCard.
    For example:
    Aspects Developer
    http://www.aspectssoftware.com/devtools/index.html
    There are others out there as well. You may need to also buy physical sample cards; however, the IDE�s usually have simulators built in.
    Hardware:
    To interact with physical cards you�ll require a PCSC compatible card reader.
    Omnikey
    http://www.omnikey.com/
    GemPlus
    http://support.gemplus.com/gemdownload/readers/index.aspx
    Hope this helps.
    Cheers,
    Alasdair

Maybe you are looking for