JCOP and Java Card Reference Implementation

Hello,
is it possible to use the JCOP tool to debug or run an applet not on only on the simulation of the JCOP cards, but also on the Java Card Reference Implementation?
If yes, how can I do it?
Thanks

That would be interesting to see. I don't think it would be benefcial, simply because the JCOP uses additional features that aren't found in the JCREF, like Global Platform. Therefore, your applet downloads wouldn't work because of the difference in APDU commands. Also I don't know how the IDE debugging would handle it.
I'd like to see if JPCSC can work with JCREF for sending APDU commands.

Similar Messages

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

  • Differences between Java Card 2.1.1 and Java Card 2.2

    Hi guys, how are you?
    My name is Érica and I’m taking Electric Engineering and I love mobile communication.
    I’m reading a PDF about SIM cards for cellular networks and I have a doubt that is “killing” me!
    What is the most relevant differences between Java Card 2.1.1 and Java Card 2.2?
    Could you please help me?
    Best regards.
    Thanks in advance.
    Érica Borsato de Souza Lima – Rio de Janeiro/Brazil

    2.2.x API will be more complete than 2.1.x, just compare the javadocs and specs.

  • Smart Card and  Java Card (URGENT)

    Dear everyone.
    I have purchased a card reader (which is supposed to be java card compatible).
    I have 2 problems.
    1. I just wonder if i can use a Smart Card generally available. Do i need to have a special card for Java Card??
    2. Can i use card kit to interface to the reader/writer? How do i install my applets??
    Please reply soon.
    Thank you very much.

    I tried to execute the OCF samples.
    this code
    OpenCard.services = com.ibm.opencard.factory.MFCCardServiceFactory
    did not give any trouble
    this code
    OpenCard.terminals = com.ibm.opencard.terminal.pcsc10.Pcsc10CardTerminalFactory
    gave some troubles. May be because iam not using ibm terminal(card).
    And also, i think the OCF samples will not work anyhow, because the Reflex reader is not OCF complaint.
    So the following may not work
    OpenCard.services = com.slb.opencard.Cyberflex
    I have most imp. questions to ask you now.
    1. What card should i purchase and from whom (along with some software if necessary)?
    2. What is the procedure for reading/writing to that card using the Reflex reader.
    Please help.
    Thanks
    Goldy.

  • WTK and Java Card SDK 2.2.2 emulator( cref ) communication problem.

    Hello everybody
    Just for own interest I was playing with the Java Card SDK 2.2.2 and WTK 2.5.2. But I am getting "Protocol mismatch error" as WTK runs on T=0 and cref runs on T=1. Does anybody have ever faced this problem and how to get rid of it?
    Thanks in advance.
    Shan!!!

    [email protected] wrote:
    Hi friends,
    I am new to Java Card technologies, previously i worked in SCOSTA cards using java application. Now i want to develop java applet and mask into the javacard.
    I tried Java_card_kit-2.2.1 package to build cap file using sample class files based on the specification.
    In command prompt, i configured path and classpath perfectly....
    But when i tried to make cap file by using the following command i am getting error.
    set JC_HOME=C:\java_card_kit-2_2_1
    set JAVA_HOME=C:\j2sdk1.4.2_09
    SET PATH=%JC_HOME%\bin;%PATH%
    SET CLASSPATH=%JC_HOME%\lib\api21.jar;%CLASSPATH%
    converter.bat -out JCA -classdir %JC_HOME%\samples\classes\com\sun\javacard\samples\HelloWorld 0xF2:0x34:0x12:0x34:0x56:0x10:0x10:0x00 1.10I am getting the following error,
    error: invalid AID 1.0.
    Usage:  converter  <options>  package_name  package_aid  major_version.minor_versionSo kindly help me the best way to make cap file.
    regards,
    dhaya.You could try the following:
    converter.bat -classdir %JC_HOME%\samples\classes com.sun.javacard.samples 0xF2:0x34:0x12:0x34:0x56:0x10:0x10:0x00 1.0You only need to specify the base directory for the classes and you need to specify the package separately.
    If you only want to convert to a JCA file you would use the following otherwise all 3 artifacts will be gernerated (CAP, JCA and EXP)
    converter.bat -out JCA -classdir %JC_HOME%\samples\classes com.sun.javacard.samples 0xF2:0x34:0x12:0x34:0x56:0x10:0x10:0x00 1.0I hope this helps.
    Shane

  • EclipseJCDE and Java Card 2.2.1

    Hello all :)
    I need to use Java Card 2.2.1 for Nokia 6131 but my Eclipse IDE only accepts Java Card 2.2.2. Is there anyway that I can get the EclipseJCDE to work with JC 2.2.1 ?
    I need to do this because when trying to upload the .class into the Nokia 6131 emulator's virtual secure element it won't take it and I get an error, I figured the reason is that I'm using a newer version of Java Card.
    Is there any other way that I can test my app.'s behavior, meaning testing how the applet and MIDlet interact?
    Thaaaaaaaaank you in advance for any help
    :)

    Hi,
    I assume you are only using the Eclipse plugin to generate CAP files to use in the Nokia emulator? If so, you can just use Eclipse to compile your classes (using the JCDK 2.2.1 libraries and Java 1.3 as the compilation target) and then use the command line CAP file converter from JCDK 2.2.1 to create the files you require.
    Cheers,
    Shane

  • ANT tools and java card

    Hi,
    I used the ant tools going with the java card development kit 2.2 and I have the following errors when I run the build.xml
    testinit:
    [apdutool] Java Card Ant Tasks, Version 1.0
    [apdutool] Copyright 2005 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.
    [apdutool] Note: Usage of Java Card Ant Tasks is optional. Java Card Ant Tasks are not supported by Sun Microsystems, Inc.
    [apdutool] Exception in thread "main" java.lang.NoClassDefFoundError: com/sun/javacard/apdutool/Main
    If you have ever had this error, can you help me please to solve it?
    Thanks in advance.

    Hi,
    You are missing a JAR file. Check to make sure you have your classpath setup in your build file with the required libraries.
    Cheers,
    Shane

  • Diference between Java Card Operating System and java card?

    operating system is inside the ROM, but are the JCVM, APIs and JCRE inside this ROM too?

    Even if you found it, how are you going to get the cards ? How will you get the tools to put the JCRE/JCVM into ROM and start it ? What about the card OS and native methods ? How are you going to engineer that ?
    The cost of all that outweights the benefits of just purchasing the cards already loaded !
    Just my 2 cents

  • Java Card Virtual Machine Portability

    1.Whether JCVM is portable or not?
    2.If yes how it communicates with Card OS and Native Methdods?
    3.Which website is more useful to know about the working of OCF and JCOP?

    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

  • 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

  • Java card 2.0 and JDK 1.3

    Hi all,
    Is java card 2.0 compatible with JDK 1.3? I have JDK 1.3 and java card 2.1 on my machine. But I have just realized that the card I have (Schlumberger's Cyberflex Access 16K cards) only support java card 2.0. So now I have to re-setup everything. Just wondering if I need to get a different JDK too?
    Thanks!

    You will need SLB Cyberflex kit for the 16k cards anyway because of the filesystem. Not to mention I don't think their latest kit, 4.3 TRUELY supports JC2.0 even though the docs says it does. Which means you might have to find a way to purchase the V3 kit because JC 2.0 isn't available here anymore.
    Also remember this, Cyberflex 16k, doesn't contain Global Platform implementation.

  • Choosing java card and jcdk

    hi all,
    we are planning to use java card for our project.can you suggest a java card development kit and java card which are appropriate for beginners?also
    what are the required tools for developing applet on the card and host side applet(that resides on pc) that communicates with the card?

    I bought a few of them in past but didn't work together. Not sure it is reader or card's problem. Do you think those two work together?
    http://www.usasmartcard.com/component/page,shop.product_details/flypage,shop.flypage/product_id,138/category_id,10/manufacturer_id,0/option,com_virtuemart/Itemid,26/
    and
    http://www.usasmartcard.com/shop/java-card_20/10404_137.html
    Thanks

  • Java Card Development Tool and Cards.

    Hello all,
    I'm thinking to purchase some Java Card Development Tools and Java Cards.
    Could you guys recommend any?
    Now I'm checking the Schlumberger's Cyberflex Access SDK. If I buy this, which card do I have to choose? 'Cyberflex Access Developer Card'?
    Howabout Gemplus? Oberthur? or G&D? and anything else?
    I look forward to hearing from you guys,
    Thank you.
    Julie.

    A list of Java Card development tools is available at http://wireless.java.sun.com/allsoftware/index.html#jcardtools

  • The version number of export file in Java Card 2.2 is not correct

    Hi all,
    I used jdk1.3.1 and java card 2.2's exp2text tool to see the content of an export file. The value of minor_version is 1. But the JCVM 2.2 spec. says it should be 2. So which one is correct?
    Joey

    Read my post again....indicate binary compatibility or incompatibility between successive implementations of a package.
    I can gerenate CAP files generated with JC 2.2., and load onto my JC 2.1.1 cards. AS LONG as I'm not using JC 2.2 implementation.
    Run the exp2Text on javacard.framework.service and notice that it should read minor = 2. That's because to use that export, JC 2.2 is minimal required implementation.

  • How to improve the performance of java card OS?

    Hi All,
    we are into Java card OS developement. We need some tips for performance improvement of OS.
    1. what are the possible calculations we can do during loading so that we show good performance during operational mode.
    2. Tips in bytecode implimentation.
    Thanks

    Dear Friend,
    Performance term has relative character in Java Card implementation because there is no etalon. CREF is PC simulated software and can not be used for measurements. So for determining card performance only another implementation comparison can be suggested. Few things should be taken in account while card implementation comparison.
    1. Measurement is done by analysis of time consumption by the card to perfrom a command starting from data transfer and ending by status code.
    2. Same bytecode should be used in both samples.
    3. Same transmission rate should be used.
    4. Analysis of similarity of hardware including CPU, persistent memory programming time
    5. To perform that kind of measurement special tool listeting to terminal-smartcard interface is required
    I have no tips to bytecode implementation because bytecode is a thing that is determined by same Sun compiler and Java Card converter. So all are in the same conditions.
    Yours sincerely
    Dmitri

Maybe you are looking for

  • Sap script doubt

    hi all, i have problem with the print program.in this it is printing the from in pre printed format. but as comapny's pre printed format has been changed so they are not willing to carry it on. so they have given me a format to design the form . i ha

  • One of the BizTalk Server processes in the affected computer is being throttled for significant periods because of high database size exceeding the threshold

    Hello Experts, I have complex Biz Talk 2013 farm having 20 servers,15 Hosts. In my production environment even if there is no traffic i am getting throttling errors from SCOM for my all the production hosts. Error : One of the BizTalk Server processe

  • Portal Migration 7.0 to 8.1 SP5

    Hello All, I have followed the Migration Guide to upgrade the Portal from 7.0 to 8.1 SP5. The existing application consists of a lot of WebFlows which we need to run in Compatibility Mode. I have a scenario, where the user clicks on a link / submits

  • How to show my button??

    well, Im a newbie to java and im trying to make a calculator, but can any1 help me to show the button on the window, the application can run but no button were shown.. i wonder what code should i add to the main method .. Here is the code: import jav

  • DropDownList and setLeadSelection

    Hi everyone, I create da dropdownlistbykey and its value is bound to a simple type I created in the dictionary. I am not able to set the leading selection to position 1 which is the frst value defined in the disctionary. Here is the details of the no