With JCOP IDE with other Java Card.

Hello,
Can I use any Java Card in the JCOP IDE? Anyone have this kind of experience? If I can do it, then what kind of information do I need?
I'm wondering if it's necessary to buy development tool kits for each java card.
Thanks,
Julie.

Now I know the CM AID and key set. but still have problem. Here are the steps.
1. open JCShell.
2. open Terminal
3. /atr
4. select CM - get 9000
5. set-key 255/1/DES-ECB/404142434445464748494A4B4C4D4E4F ~ 255/3/40....
---> Java Card key set is 0x00. and is it correct to use like above?
---> What is DEC-ECB? this key set type should be changed?
6. init-update 255
??> init-update 255
=> 80 50 00 00 08 E5 70 E8 65 7B 6B 23 DC 00 .P....p.e{k#..
(78 msec)
<= 00 00 31 69 00 02 73 71 08 00 00 00 25 81 4D D0 ..1i..sq....%.M.
D0 06 62 77 9B EB 72 7F 2E AC F8 B7 90 00 ..bw..r.......
Status: No Error
Error code: -8 (Failed (no diagnosis))
Error message: No such key: 0/1
Command failed.
Please help me out.
Thanks a lot.
Julie.

Similar Messages

  • Other Java Card Emulator

    Is there any other java card emulator besides cref from Java Card Development Kit?

    Dome313 wrote:
    Is there any other java card emulator besides cref from Java Card Development Kit?Hi,
    You will find that some of the major vendors have simulators available for their cards. Each of these simulators is designed to perform the same as the OS on the card so like different cards, different simulators can perform differently.
    NXP (JCOP), Gemalto and G&D all have a tool set for simulating (at least some of) their cards. These are built into an IDE. Some of these tools are hard to get a hold of and you should make sure any of these will meet your needs before paying for them (Gemalto Developer Suite is targeted at USIM development). You may be able to find other vendors that have similar offerings as well.
    Cheers,
    Shane

  • IDES for writing Java card applets and converting the applets as CAP FILE.

    I have developed a JAVA CARD APPLET , FindMFValueJCA.java . It gets compiles in net beans 6.0 But while converting the applet to CAP file i am getting some errors. Is there any other IDES which take care of converting the CAP files

    What's the Java version you are using?
    As the java card tool kit has version dependencies. If you are using java_card _kit 2.2.2 then 1.5 is fine.                                                                                                                                                                                                                                                                                                   

  • JCOP 3.0 supports Java Card 2.2?

    hi
    Does this JCOP 3.0 tool support javacard 2.2, i need to implement this DH using KeyAgreement class. Can you guys suggesnt me the vendors that support javacard2.2
    Thank You

    No support and no vendors yet.
    Comming to ur town E2004.

  • Listing available Terminals with Jcop off-card API

    Hi all,
    I'm using the off-card API provided with JCOP to build some off-card programs, and also I'm using 3 SmartCard readers (2 USB and 1 on serial port COM1).
    Is there a way to list (and to get) these available terminal from within the off-card API using the JCTerminal & co classes ?
    I'm building an instance of PCSCJCTerminal this way :
    private static JCTerminal      ter = null;
    ter = (PCSCJCTerminal)JCTerminal.getInstance("PCSC", null);It's working fine when I plug my SIM Card into any of my three readers, but I want to specify to getinstance method which Terminal to use.
    How to do it please.
    Thank you very much
    Kartagos

    I'm using the off-card API provided with JCOP to
    build some off-card programs, and also I'm using 3
    SmartCard readers (2 USB and 1 on serial port COM1).
    Is there a way to list (and to get) these available
    terminal from within the off-card API using the
    JCTerminal & co classes ? There is a "unofficial" way to this. I have made some "internal research" to the JCOP classes and found the following:
    import com.linuxnet.jpcsc.Context;
    import com.linuxnet.jpcsc.PCSC;
    Context contextJPCSC = new Context();
    contextJPCSC.EstablishContext(PCSC.SCOPE_SYSTEM, null, null);
    String[] terminalNames = contextJPCSC.ListReaders();For beeing flexible to add the JCOP emulator to that list, I use only the base class JCTerminal:
    terminal = JCTerminal.getInstance("PCSC", terminalName);
    terminal = JCTerminal.getInstance("Remote",<Portnumber or null=port 8050>);Jan

  • Interoperability with another IDE?

    Are you using another IDE like IntelliJ IDEA besides Workshop?
    How did you make them interoperate?
    Can you share your experiences?

    Absolutely...
    Consider the following java project scenario:
    MyApp contains a java project MyJavaProject
    Where does the output of this go? Where are the compiled classes? To
    interoperate with another IDE, the other IDE needs to know the output path.
    It would be very nice to have Workshop and the other IDE point to same
    output path. I know that the jar goes in the Libraries directory...
    Consider the following web project scenario:
    MyApp contains MyWebApp
    MyWebApp has WEB-INF which has src directory. With the split development
    model the classes go in .workshop\output\MyWebApp. Okay, now it is possible
    for the other IDE to use the same output path of .workshop\output\MyWebApp
    Consider the following ejb project scenario:
    MyApp contains MyEJBApp
    Again where does the output go?
    Ideally, how would interoperability work?
    We can edit artifacts in workshop. We can edit artifacts in another IDE.
    We can compile in workshop. We can compile in another IDE. That means the
    output paths are well-known. The generated artifacts like Home and Business
    interfaces are easily accessible.
    "Raj Alagumalai" <[email protected]> wrote in message
    news:[email protected]..
    Carl,
    Can you provide more information on this post ?
    Thanks,
    Raj Alagumalai
    Backline Workshop Support
    "Carl" <[email protected]> wrote in message
    news:[email protected]..
    Are you using another IDE like IntelliJ IDEA besides Workshop?
    How did you make them interoperate?
    Can you share your experiences?

  • Problem with new Scandisk 32GB CompactFlash Memory Card Extreme Pro 600x UDM

    Canon provides an XF utility to read, combine, and export video files from the card to the computer. The utility works well with every CF card that I have used until I bought a new Scandisk CF card. The utility can access the XF files on the card but it cannot play them. Actually it does start to play then stops and starts. When I try to export a file to the computer it will not finish with even the smallest file. There is no problem with any of my other CF cards. Has anyone else seen this problem?

    Now that I am in the correct forum the question is for those users who use the Canon XF Utility - is there any reason for it to act differently with one type of CF card as opposed to another? I have sort of solved the problem by using the PP Media Browser instead of the Canon Utility to read my CF cards.

  • Reg: java card application needs

    Dear experts,
    i am a newbie to java card, After a lot of googling, i found JACCAL to aid java card programming development. I have downloaded and installed it but i dont know how to use it? any help will be greatly appreciated,
    By the way, i need to know why do we need IDE or tools for java card programming?. Cant we complete right from typing program to till burning on card using the java card kit ? please correct me, if i am wrong.
    I have tested the sample programs successfully with java card kit 2.1.2. My doubt is, What are the needs for java card application, like what CAD, card and tools should be used or purchased(most of them ,i found from the web are outdated like JCOP, OCF).
    Thanks in advance.
    SRI.

    you mean by again doing right click src then New-other-java card Applet.

  • Java Card string

    Hello, i am new to Java Card, i am trying to write an applet and i am stuck with strings.
    Should i add some jars to my project so the String can be used? By the default project settings there are no String and strings can not be declared.
    I am using JCOP tools and Eclipse IDE.
    Thanks

    Hi,
    Java Card does not have a java.lang.String class. It is a cut down version of the Java runtime. In the documentation for the Java Card Development Kit, there is a rundown of what parts of the Java language are not supported. That being said, all strings are is a collection of bytes. You can represent a string as a byte array.
    private final static byte[] STRING_CONSTANT = {'c', 'o', 'n', 's', 't', 'a', 'n', 't'};Also, be mindful that the JCRE does not have a garbage collector as you may know it. Some cards do support object deletion (garbage collection) but it is performed the next time the applet is activated and takes a relatively long time (it will cause performance issues if you rely on it heavily).
    Cheers,
    Shane
    Edited by: safarmer on 28/12/2009 12:10
    Edited by: safarmer on 28/12/2009 12:12

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

  • The only Official Java Card OS

    IBM is in talks with Sun about an acquisition, if it happen then JCOP will be Official Java Card OS. good for NXP.

    http://www.sun.com/third-party/global/oracle/
    Sun Microsystems (NASDAQ: JAVA) and Oracle Corporation (NASDAQ: ORCL) announced today they have entered into a definitive agreement under which Oracle will acquire Sun common stock for $9.50 per share in cash. The transaction is valued at approximately $7.4 billion, or $5.6 billion net of Sun's cash and debt.
    OK, no more Sun Java card, Now is Oracle Java Card!

  • Java Card 2.2.2 Emulator

    Hi,
    I have installed Eclipse 3.2.2 with the plug-in for Java Card, the JC JDK 2.2.2 . In order to test my applet I have installed JCOP 4.01 but I have understand that JCOP support only Java Card 2.2.1. Now the question are..
    1. How can I test my Applet write with JDK 2.2.2?
    2. Exist another free emulator like JCOP?

    1. How can I test my Applet write with JDK 2.2.2?Using the JCDK CREF emulator or buying a JC2.2.2 card
    2. Exist another free emulator like JCOP?JCOP Tools is not a free emulator. It is provided by NXP to customers on an NDA. If you have a relationship with NXP you can see if they can provide you with a version that supports JC 2.2.2. They have JC 2.2.2 cards so they should have a JCOP tools that supports this version as well.
    Cheers,
    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

  • Java card confusing Issues!!!!!!! java card architecture, advantage!!!!!

    QUESTION -1
    As I know about architecture of any application is -
                    //normal java software                          java card                                  java card
                      //  1                                               2                                      3
    1-            application program                        host application                           host application
    2-                     JVM                                   Applets                                       Applets
    3-              operating system                JCRE(which contain all classes, JVM ....)                 JCRE(act as a O.S too)
    4                    hardware                              Operating system                                 H/W
    5                                                                        hardwareWhat do u think- case 2 is right? or 3 is!!!!!!!!!!!
    I think - case 3 is right!!!!
    As i study from several sources , JCRE is complete package - it behaves as a operation system and use the functionality of component it contain. I also think if i will purchase a java card from any vendor , it would have JCRE inside it (means everthing inside it,), i only need to develop the applet according to my requirement and install it by on card installer program
    QUESTION 2- what is the advantage of java card.?
    // I think.
    as i read out , i got the line that it is platform independent and support multiple application. applicaton point of
    view , I am agree but how it is platfrom independent. if we use java card for smart card development, then
    i will purchase Java card from differnt vendor , all will provide me card with supported jcre inside it, so why
    this is advantage here?
    // in case of window based application , it really make sense  because if i will make any window application with java
    // i can run it in windows , linux , unix and most of os flavours, here i can see the beauty of java language.
    Clear me this and add some other java card advantages, which make java card goodquestion 3-
    Now I am capaple to make simple applets, so I want to check the entire java card process atleast once before
    going in deep of something, I am thinking to implement prepaid card concept , i made it applet for it ,it will
    contain a page with 2 text box ( 1- for recharge 2- for money deduction ) and two button , with button click i
    want to select the applet and want to pass the apdu.
    ( a) how i can make host window application ? (i think awt will work for me? , *
    i never make any java window application yet) *
    ( b) still i dont have any java card , i want to make it by using simulator, is it possible?
      (c) in this scenario what framework i need to study Ex. Import javacard.framework.* for making
    applet or from where i need to start.Regards:
    rohit pathak
    Edited by: rohit pathak on Feb 9, 2012 10:10 PM

    Hi,
    QUESTION -1
    As I know about architecture of any application is -
    //normal java software                          java card                                  java card
    //  1                                               2                                      3
    1-            application program                        host application                           host application
    2-                     JVM                                   Applets                                       Applets
    3-              operating system                JCRE(which contain all classes, JVM ....)                 JCRE(act as a O.S too)
    4                    hardware                              Operating system                                 H/W
    5                                                                        hardwareWhat do u think- case 2 is right? or 3 is!!!!!!!!!!! If you are using Java Card then JCRE+JVM = OS and if you put this on ein package 3 then 3 is correct according to me.
    As i study from several sources , JCRE is complete package - it behaves as a operation system and use the functionality of component it contain. I also think if i will purchase a java card from any vendor , it would have JCRE inside it (means everthing inside it,), i only need to develop the applet according to my requirement and install it by on card installer program Actually it depends. There can be following models in this regards:
    1. Buy a empty smart card, Install your own OS and then write your applets for it.
    2. As you said, Buy a card with preloaded OS and then write applets for it.
    QUESTION 2- what is the advantage of java card.?
    * Interoperable: Applets developed with Java Card technology will run on any Java Card technology-enabled smart card, independently of the card vendor and underlying hardware.
    * Secure: Java Card technology relies on the inherent security of the Java programming language to provide a secure execution environment. Designed through an open process, the platform's proven industry deployments and security evaluations ensure that card issuers benefit from the most capable and secure technology available today.
    * Multi-Application-Capable: Java Card technology enables multiple applications to co-exist securely on a single smart card.
    * Dynamic: New applications can be installed securely after a card has been issued, enabling card issuers to respond to their customer's changing needs dynamically.
    * Compatible with Existing Standards: The Java Card API is compatible with international standards for smart cards such as ISO7816, or EMV. Major industry-specific standards such as Global Platform and ETSI refer to it.
    * Developers creating Java Card applications enjoy all the advantages of working in the Java programming language:
    Object-oriented programming yields greater code modularity and reusability, leading to higher programmer productivity.
    Protection features characteristic of the Java programming language apply to Java Card applets, enforcing strong typing and protection attributes.
    Powerful off-the-shelf development tools are readily available.
    source: http://java.sun.com/javacard/overview.jsp
    And also, in case of SIM card if you are using java card then RAM is possible and native cards don't have this ability.
    question 3
    Now I am capaple to make simple applets, so I want to check the entire java card process atleast once before
    going in deep of something, I am thinking to implement prepaid card concept , i made it applet for it ,it will
    contain a page with 2 text box ( 1- for recharge 2- for money deduction ) and two button , with button click i
    want to select the applet and want to pass the apdu.
    ( a) how i can make host window application ? (i think awt will work for me? , *You can use swing for this to make interface and use smartcardIO http://docs.oracle.com/javase/6/docs/jre/api/security/smartcardio/spec/javax/smartcardio/package-summary.html for sending APDUs.
    i never make any java window application yet) * It is easy you can look here and start: http://www.roseindia.net/java/example/java/swing/
    ( b) still i dont have any java card , i want to make it by using simulator, is it possible?Actually, smartcardIO will only interact with actuall card and for simulator you will have to use console for sending APDUs.
    (c) in this scenario what framework i need to study Ex. Import javacard.framework.* for making
    applet or from where i need to start.For your current case it is enough and for host app you should study smartcardio as i mentioned above.
    Hope it helps.
    Regards
    Umer

  • Java Card 2.1.1 to 2.2.2 Conversion Issue

    Hi,
    I have an applet that responds to an APDU instruction with 9000 when run in Java Card 2.1.1 but returns 6D00 when run in Java Card 2.2.2, I don't understand why this is happening when 2.2.2 is said to be compatible with 2.1.
    The instruction is 0x80 0x22 0x00 0x00 0x04 0x01 0x02 0x03 0x04 0x00; intended to be used for PIN verification.
    I am running on java 6 sdk, eclipse-jee indigo (3.7.1) with eclipse jcde 1.0, java card 2.2.2, on windows xp.
    Someone please explain?

    ya, 6d00 means the instruction is not supported, but why is it giving 9000 in jc 2.1.1?
    Also, while interindustry commands can be used for PIN validation, proprietary approach is also posssible, which is what i did in the jc 2.1.1 version that is working. What i don't understand is why it is not working in jc 2.2.2?

Maybe you are looking for

  • Cant access to window8 store

    Hai this is zain and my problem is every time i open my store is display the note that "We weren't able to connect to the Store. This might have happened because of a server problem or the network connection time out. Please wait a few minutes and tr

  • "The Server Responded With An Error"

    Y'day I was pasting details of a reserv into ICAL.  it was perhaps too much data.  As soon as I clicked to paste, I got msg "The Server Responded With An Error" & below that was the info I was copying into my calendar.  Then calendar froze.  Then "Fo

  • How do I transfer my iTunes library from my old computer to my MacBook Pro?

    How do I transfer my iTunes library from my old computer to my MacBook Pro?

  • How to wirelessly share photos and video on Apple TV.

    Looking for some Apple TV wisdom. I'm interesting in being able to view my photo library and home move library via my Apple TV. My photos and movies are on a WD Live drive, but willing to move my data to another device if appropriate All of my Macs a

  • Error in creating triangle object

    I am getting an error message of " cannot resolve symbol"..when i tried to create an object for the triangle class.It points at the 'Triangle' class itself when the program is compiled. I just hope that I have imported the right package.Can somebody