There is not javacard.framework in Java Card 3.0.4

I tried to write a javacard applet. So,
Download Java Card Classic Development Kit 3.0.4 (java_card_kit-classic-3_0_4-rr-bin-do-b28-windows-06_sep_2011.jar) that I get its JAR File
I add the JAR File in to Eclipse by add it in the Java Build Path>Library.
But when I wanted to import javacard.framework, I got the "javacard.framework cannot be resolved" error. Moreover, when I saw inside the Development Kit, there was no javacard.framwork package in it. There is only "com.","net.","apache." package.

I can execute it. Now, I can get all stuff including the javacardx.framework.
I download JCDE and and put it into Eclipse Folder. There is the "Java Card" Menu on the top bar of eclipse. I set the JavaCard home at the preference of the menu to My installed JavaCard Development kit folder but I cannot apply . Eclipse said there is not converter.jar in the folder. So, I have to set the JavaCard home to My JavaCard 2.2.1 folder instead.
However, Eclipse still give me the "javacard.framework cannot be resolved" error

Similar Messages

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

  • How SDA and DDA works in Java Card?

    Hi Friends,
    I want to know how exactly SDA and DDA works in Java Card technology..
    Yes, i know that SDA (Static Data Authentication) is valid for every transactions, but the key used is always same for every transaction made..
    and DDA (Dynamic Data Authentication) uses dynamic key for every transactions, it means that one key is valid for one transaction..
    But, i'm a little bit confused how this is implemented in Java Card..
    Is it related with SCP01 and SCP02?..
    Please help me regarding this..
    Thanks in advance

    Hi,
    I want to know how exactly SDA and DDA works in Java Card technology..This is an EMV concept and as such is not implemented in Java Card as such. You would have to create an implementation to be able to use SDA and DDA.
    But, i'm a little bit confused how this is implemented in Java Card..
    Is it related with SCP01 and SCP02?..It is not implemented natively in Java Card and are not related to SCP. SDA and DDA are for the EMV card application (card application data updates) and SCP is for the card manager (card content updates). While they could be considered similar concepts, they are not related in a Java Card sense.
    Cheers,
    Shane

  • Security in each byte of Java card's EEPROM

    as i undrestand until now in my applet I define a variable and store data in that variable,
    Is it a way to know where these data are stored, I mean I wanna define the memory address of that data by myself,
    caz my card application is multi-app, and maybe in future I want to let someone else load his/her applet in that card beside my applets to do other application
    but from know I wanna think of security that in future let that person to have the memory address from i.e 0x01 up to 0x05
    and have no right to read or write in other memory bytes
    and also each part of memory address should have a security code for authentication...
    what's your idea about this post and what do u sudggest?
    Regards
    Hana

    I'm sorry for my ignorance, but i think that you do not want to mess around with the Card Issuer Keys unless you are the Card Issuer which does not seems like the case.
    I think that you want to use the Secure Channel Protocol inside your own applet(which is what i want to do also) and use your own issued keys.
    Why? Because in a real situation you will not want that your Java Card stuck with only one App, you want it to have as many as the user wants to. For that to happen, the card issuer keeps a keyset to load&install applets, but, when the applet is installed you want to maintain your privacy from the card issuer(and everyone else), so you will need an extra keyset for your own Secure Channel Protocol.
    What i'm saying is that:
    When you enter the Cards Security Domain, you need the cards security domain keys.
    When you select your applet, all your comunications become "plain-text" and you will not have any transaction security.
    I would like to know how to open this SCP channel from my app, but unfortunatelly i cannot help you any further.
    Edited by: rochajoel on Aug 31, 2009 9:48 AM

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

  • "Cap file can not load on java card"

    Hi every one,
    My problem is :
    I created a cap file from my package .when I want to load cap file in the card, I got an error and loading was stoped.I opened the cap file with "HexEditor" program and I saw the version in the "Import.cap" file is "02 01", when I changed it to "00 01" my problem was solved and I could load the cap file in the card successfully.
    I would like to know what is the reason of this problem ,how the capfile gets "02 01" version ?
    And I would like to know, how can I find the version of sun library packages that are in the java card that I am working with(it is GemXpresso card).My mean is , the version of these packages on the card :
    A0000000620001 (java.lang)
    A0000000620101 (javacard.framework)
    A0000000620102 (javacard.security)
    A0000000620201 (javacardx.crypto)
    I 'll appreciated for any help.
    yours sincerely,
    Orchid

    Dear NewOrchid
    j2sdk-1_4_2_15-windows-i586-p.exe is 48.9 MB.
    i downloaded it from sun with using a proxy server software.
    if you like, i can send my software to your email.
    to Woj:
    if you use jdk1.5 for compiling and your card doesn't conform to
    java card 2.2.2 , you can not load your cap file on the card.

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

  • Is there ANYONE who have REAL knowelage with JAVA CARD OS?

    It is serious problem. Same problem like this one:
    http://forums.sun.com/thread.jspa?threadID=5344671&tstart=30
    Anyway. Main problem is that if you want to use several times encryption using different key every time
    soon or later card will BLOCK itself!!!
    Well it will return code 6F00 and ONLY whole reprograming of card will help!!!
    Here is simple code:
    package com.cpit.javacard;
    import javacard.framework.APDU;
    import javacard.framework.Applet;
    import javacard.framework.ISO7816;
    import javacard.framework.ISOException;
    import javacard.framework.JCSystem;
    import javacard.framework.Util;
    import javacard.security.AESKey;
    import javacard.security.DESKey;
    import javacard.security.Key;
    import javacard.security.KeyBuilder;
    import javacard.security.MessageDigest;
    import javacard.security.RSAPrivateCrtKey;
    import javacardx.crypto.Cipher;
    public class DES3a extends Applet
    byte[] staticKey = {0x40,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4a,0x4b,0x4c,0x4d,0x4e,0x4f,0x40,0x41,0x42,0x43,0x44,0x45,0x46,0x47};
    byte[] inData ={0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15};
    byte[] outData ={(byte) 0xF1,(byte) 0xD7,(byte) 0x5E,(byte) 0x4F,(byte) 0x0D,(byte) 0x37,(byte) 0xC2,(byte) 0x2C,(byte) 0xB8,(byte) 0xD5,(byte) 0x4E,(byte) 0x62,(byte) 0x53,(byte) 0xBB,(byte) 0x40,(byte) 0xB1};
    byte[] dummy = new byte[4024];
    //constructor
    private DES3a (byte bArray[], short bOffset, byte bLength)
    register(bArray, (short) (bOffset + 1), bArray[bOffset]);
    // install
    public static void install(byte bArray[], short bOffset, byte bLength)
    new DES3a (bArray, bOffset, bLength);
    public void process(APDU apdu)
         byte[] buf = apdu.getBuffer();
         // Good practice: Return 9000 on SELECT
    if (selectingApplet())
    return;
    if (buf[ISO7816.OFFSET_CLA] != (byte) (0xB0)) ISOException.throwIt(ISO7816.SW_CLA_NOT_SUPPORTED);
    if (buf[ISO7816.OFFSET_INS] != (byte) (0xAA)) ISOException.throwIt(ISO7816.SW_INS_NOT_SUPPORTED);
    byte buffer[] = apdu.getBuffer();
    Crypt_DES(apdu);
    private void Crypt_DES(APDU apdu)
    byte[] buffer = apdu.getBuffer();
    for( short i = 0; i<(short)50; i++) {
    generateSessionKey(inData, staticKey, buffer);
    if (Util.arrayCompare(buffer,(short) 0, outData, (short)0x0, (short)16) != 0 ) break;
    Util.arrayCopy(outData, (short)(0), buffer, (short)16, (short)16);
    apdu.setOutgoing();
    apdu.setOutgoingLength((byte) 0x30);
    apdu.sendBytes((short) 0, (byte) 0x30);
         return;
         private void generateSessionKey(byte[] derivationData, byte[] staticKey,byte[] sessionKey){
              DESKey key = ( DESKey )KeyBuilder.buildKey(KeyBuilder.TYPE_DES, KeyBuilder.LENGTH_DES3_2KEY, false );
              key.setKey( staticKey, (short)0 );
              Cipher cipher = Cipher.getInstance( Cipher.ALG_DES_ECB_NOPAD, true );
              cipher.init( key, Cipher.MODE_ENCRYPT );
              cipher.doFinal(derivationData, (short)0, (short)16, sessionKey, (short)0);               
              key.clearKey();
    It seems that problem is in KeyBuilder?! . Is this function allocates EEPROM??? how can be that memory
    deallocated? Even worst is if it used TYPE_DES_TRANSIENT_DESELECT insead TYPE_DES!!!
    In example from above in loop top value is 50. On some cards (depend on EEPROM size) it can be even
    1000 ! but still it will crash on the end!
    Also increasing size of "dummy" it will reduce number of DES runs.
    Here is results:
    cm> /select 11223344556677
    => 00 A4 04 00 07 11 22 33 44 55 66 77 00 ......"3DUfw.
    (20215 usec)
    <= 90 00 ..
    Status: No Error
    cm> send b0aa000000
    => B0 AA 00 00 00 .....
    (14394373 usec)
    <= F1 D7 5E 4F 0D 37 C2 2C B8 D5 4E 62 53 BB 40 B1 ..^O.7.,..NbS.@.
    F1 D7 5E 4F 0D 37 C2 2C B8 D5 4E 62 53 BB 40 B1 ..^O.7.,..NbS.@.
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
    90 00 ..
    Status: No Error
    cm> send b0aa000000
    => B0 AA 00 00 00 .....
    (15024947 usec)
    <= F1 D7 5E 4F 0D 37 C2 2C B8 D5 4E 62 53 BB 40 B1 ..^O.7.,..NbS.@.
    F1 D7 5E 4F 0D 37 C2 2C B8 D5 4E 62 53 BB 40 B1 ..^O.7.,..NbS.@.
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
    90 00 ..
    Status: No Error
    cm> send b0aa000000
    => B0 AA 00 00 00 .....
    (15632306 usec)
    <= F1 D7 5E 4F 0D 37 C2 2C B8 D5 4E 62 53 BB 40 B1 ..^O.7.,..NbS.@.
    F1 D7 5E 4F 0D 37 C2 2C B8 D5 4E 62 53 BB 40 B1 ..^O.7.,..NbS.@.
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
    90 00 ..
    Status: No Error
    cm> send b0aa000000
    => B0 AA 00 00 00 .....
    (8572462 usec)
    <= 6F 00 o.
    Status: No precise diagnosis
    As you can see that card (jcop41) can run correct less than 200 times!!!
    On gemplus 64k it can run less than 1200 times!!!
    So is there any method for dealocating EEPROM that is used by KeyBuilder?
    Or to use RAM (Using TYPE_DES_TRANSIENT_DESELECT is even worst!)
    That is problem with EEPROM here is proof:
    On halted card when is application deleted it takes more time !!!
    ;HALTED CARD
    cm> ext-auth plain
    => 84 82 00 00 10 B0 B9 D5 5A FC D3 BA 3F AE 85 CD ........Z...?...
    9F 24 25 A5 04 .$%..
    (123134 usec)
    <= 90 00 ..
    Status: No Error
    cm> delete 11223344556677
    => 80 E4 00 00 09 4F 07 11 22 33 44 55 66 77 00 .....O.."3DUfw.
    (3235735 usec)
    <= 00 90 00 ...
    Status: No Error
    cm> delete 112233445566
    => 80 E4 00 00 08 4F 06 11 22 33 44 55 66 00 .....O.."3DUf.
    (940978 usec)
    <= 00 90 00 ...
    Status: No Error
    NORMAL CARD
    cm> ext-auth plain
    => 84 82 00 00 10 96 4D 17 94 84 41 0B 03 62 BF AC ......M...A..b..
    3D 72 41 E0 D4 =rA..
    (67224 usec)
    <= 90 00 ..
    Status: No Error
    cm> delete 11223344556677
    => 80 E4 00 00 09 4F 07 11 22 33 44 55 66 77 00 .....O.."3DUfw.
    (930056 usec)
    <= 00 90 00 ...
    Status: No Error
    cm> delete 112233445566
    => 80 E4 00 00 08 4F 06 11 22 33 44 55 66 00 .....O.."3DUf.
    (946824 usec)
    <= 00 90 00 ...
    Status: No Error
    As you can see 3235735 usec vs 930056 usec
    Any help?
    regards

    Ok, thanks for hints & help, here is a tested working example:
    static byte DES_flag = 0xa5;
    DESKey key ;
    Cipher cipher;
    //constructor
    // because I dont know how "install" handles functions i've use "selectingApplet"
    if (selectingApplet())
    if (DES_flag ==0xa5){
    cipher = Cipher.getInstance( Cipher.ALG_DES_ECB_NOPAD, false );     //instead true!     
    key = (DESKey) KeyBuilder.buildKey(KeyBuilder.TYPE_DES_TRANSIENT_DESELECT , KeyBuilder.LENGTH_DES3_2KEY, true );
    DES_flag =0;
         return;
         private void generateSessionKey(byte[] derivationData, byte[] staticKey,byte[] sessionKey){
              key.setKey( staticKey, (short)0 );
              cipher.init( key, Cipher.MODE_ENCRYPT );
              cipher.doFinal(derivationData, (short)0, (short)16, sessionKey, (short)0);               
              key.clearKey();
    Regards

  • Ant tools: converter java card -  class file  not belonging to the package!

    Hi
    I have another problem with converter. Could you help me please again if you have the time?
    I have created a directory when I save the class files generated by javac. After That , I use convert in this way:
    <convert
    JCA="true"
    EXP="true"
    CAP="true"
    packagename="testUn/classes/testUn"
    packageaid="0x01:0x01:0x01:0x01:0x01:0x01:0x01:0x01:0x02:0x00"
    majorminorversion="1.0"
    verbose = "true">
    <AppletNameAID
    appletname="testUn.classes.testUn.PorteAppUn"
    aid="0x01:0x01:0x01:0x01:0x01:0x01:0x01:0x01:0x02:0x00:0x00"/>
    <classpath refid="classpath"/>
    </convert>
    Here is the answer of the computer:
    [echo] Generation of the CAP,JCA and EXP files...
    [convert] Java Card Ant Tasks, Version 1.0
    [convert] Copyright 2005 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.
    [convert] Note: Usage of Java Card Ant Tasks is optional. Java Card Ant Tasks are not supported by Sun Microsystems, Inc.
    [convert] Java Card 2.2.2 Class File Converter, Version 1.3
    [convert] Copyright 2005 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.
    [convert] parsing /home/ehoudart/app-manager/VersionZero/src/testUn/classes/testUn/PorteAppUn.class
    [convert] converting testUn.PorteAppUn
    [*convert] error: class PorteAppUn does not belong to package testUn.classes.testUn.*
    [convert] conversion completed with 1 errors and 0 warnings.
    I do not understand why this unique applet class file does not belong to its own package. Is someone an idea?
    Thanks very much in advance for your answer.

    Here is a complete example build.xml (I think I have posted this before).
    <?xml version="1.0" encoding="UTF-8" ?>
    <project default="convert" name="javacard-starter">
      <!-- Build specific properties -->
      <property name="target.classes" location="${basedir}/target/classes" />
      <property name="target.javacard" location="${basedir}/target/javacard" />
      <property name="source.java" location="${basedir}/src/main/java" />
      <!-- Must point to the folder containing the JAR files from the JCDK -->
      <property name="javacard.libs" location="${basedir}/lib" />
      <!-- Must point to the folder containing the JAR file from the JCDK ant task -->
      <property name="javacard.ant-task" location="${basedir}/lib" />
      <!-- Must point to the folder containing the API export files from the JCDK -->
      <property name="javacard.export" location="${basedir}/src/main/export" />
      <property name="verbose" value="true" />
      <property name="noverify" value="false" />
      <!-- Path for JC tasks -->
      <path id="classpath">
        <fileset dir="${javacard.ant-task}">
          <include name="*.jar" />
        </fileset>
        <fileset dir="${javacard.libs}">
          <include name="*.jar" />
        </fileset>
      </path>
      <!-- set the export path to the Java Card export files -->
      <path id="export" description="set the export file path">
        <fileset dir="${javacard.export}">
          <include name="**/*.exp" />
        </fileset>
        <pathelement path="${javacard.export}" />
        <pathelement path="${target.classes}" />
        <pathelement path="${target.javacard}" />
      </path>
      <!-- Definitions for tasks for Java Card tools -->
      <taskdef name="capgen" classname="com.sun.javacard.ant.tasks.CapgenTask" classpathref="classpath" />
      <taskdef name="deploycap" classname="com.sun.javacard.ant.tasks.DeployCapTask" classpathref="classpath" />
      <taskdef name="convert" classname="com.sun.javacard.ant.tasks.ConverterTask" classpathref="classpath" />
      <taskdef name="verifyexport" classname="com.sun.javacard.ant.tasks.VerifyExpTask" classpathref="classpath" />
      <taskdef name="verifycap" classname="com.sun.javacard.ant.tasks.VerifyCapTask" classpathref="classpath" />
      <taskdef name="verifyrevision" classname="com.sun.javacard.ant.tasks.VerifyRevTask" classpathref="classpath" />
      <typedef name="appletnameaid" classname="com.sun.javacard.ant.types.AppletNameAID" classpathref="classpath" />
      <typedef name="jcainputfile" classname="com.sun.javacard.ant.types.JCAInputFile" classpathref="classpath" />
      <target name="init">
        <mkdir dir="${target.classes}" />
        <mkdir dir="${target.javacard}" />
      </target>
      <target name="clean">
        <delete dir="${target.classes}" />
        <delete dir="${target.javacard}" />
        <delete dir="${javacard.eeprom}" />
      </target>
      <target name="compile" depends="init" description="Compile source code to class files">
        <!-- Compile the java code from ${src} to ${classes} -->
        <javac debug="yes" optimize="no" srcdir="${source.java}" destdir="${target.classes}" source="1.5" target="1.5">
          <classpath refid="classpath" />
        </javac>
      </target>
      <target name="convert" depends="compile" description="Convert class files to cap files">
              <convert packagename="chaining" packageaid="0xF0:0x00:0x00:0x01:0x00:0x01" majorminorversion="1.0" classdir="${target.classes}" outputdirectory="${target.classes}" jca="true" exp="true" cap="true" debug="true" verbose="${verbose}" noverify="${noverify}">
                   <appletnameaid aid="0xF0:0x00:0x00:0x01:0x00:0x01:0x00:0x01" appletname="chaining.ChainingApplet" />
                   <exportpath refid="export" />
                   <classpath refid="classpath" />
              </convert>
      </target>
      <target name="copy-debug">
        <mkdir dir="${target.debug}" />
        <echo>Copying cap files</echo>
        <copy flatten="true" todir="${target.debug}" verbose="true">
          <fileset dir="${target.classes}" includes="**/*.cap" />
          <fileset dir="${target.classes}" includes="**/*.exp" />
          <fileset dir="${target.classes}" includes="**/*.jca" />
        </copy>
      </target>
      <target name="all" depends="clean, convert" />
    </project>

  • Export file framework.exp of package javacard.framework not found

    Hi,
    trying to convert the HelloWord example of the Sun Javacard Kit (2.2.2), i get the "error: export file framework.exp of package javacard.framework not found". I have compiled the file according to the documentation and i am still following the documentation for converting it.
    this is the command i use:
    %JC_HOME%/bin/converter.bat -config C:\java_card_kit-2_2_2\samples\src\com\sun\javacard\samples\HelloWorld\HelloWorld.opt
    Ideas?
    Thanks
    Edited by: uig on Oct 23, 2007 7:54 AM

    how did you compile ur helloworld.opt file coz when i tried it i got this err msg
    call %JC_HOME%\bin\converter -config ..\src\com\sun\javacard\samples\HelloWorld\HelloWorld.opt
    and got this err
    Exception in thread "main" java.lang.NoClassDefFoundError: Files\Java\jre1/6/0_03\lib\ext\QTJava/zip;

  • Java Card Gurus.. help needed!!! Could be a hidden bug with JavaCard Tools!

    Hello,
    I've run into a small problem, if u could help me out, Id be really grateful.
    The problem lies in the WAY the tools are used(apdutool, jcwde etc). The project envisages the running of the tools from a RELATIVE point of view and not absolute. That is, (simplistically speaking),
    The Host side is handled thus:
    I AM NOTrunning jcwde as : jcwde -p 9025 jcwde.app
    The mode is : c:\javacarddk\bin\jcwde.bat -p 9025 c:\temp\raj\jcwde.app
    The Card side is handled thus :
    The CAP file generation is : c:\javacarddk\bin\converter.bat -config c:\temp\raj\walletfile.opt
    The SCR file generation is : c:\javacarddk\bin\scriptgen.bat -o wallet.scr com/sun/..../javacard/wallet.cap
    However. the SERVER responds positively with the "T=0 listening on port 9025" message,
    but as soon as the CLIENT is started, ie
    c:\javacarddk\bin\apdutool c:\temp\raj\wallet.scr,
    The following exception is thrown :(SERVER)
    java.net.SocketException: Connection reset by peer: JVM_recv in socket input str
    eam read
    jcwde terminating on receipt of SimulationException. See previous messages for
    cause.
    and on the CLIENT :
    com.sun.javacard.apdutool.ReaderWriterError: Card powered down. (0x15)
    Please help, as the source codes of the JavaCard API are not available, so I am unable to determine if this
    RELATIVE path access is the root of the problem.
    Any help is appreceiated!!!!
    Thanks
    --Raj

    cref is not the same as JCWDE.
    JCWDE uses class files to emulate Java Card environment. It doesn't support package installation.
    If you want to test a package using JCWDE you should a) add path to your class files to classpath that is used by JCWDE and b) specify in JCWDE configuration file AIDs for your applets.
    JCWDE receives APDU commands and transfer them to your classes, everything is executed in usual java VM. You can even put debug output (System.out.println(...)) into your sources.
    cref if a 'c reference implementation' of Java Card VM. It executes Java Card bytecodes and emulates real device. It supports package installation (scriptgen/apdutool) and works with converted packages.
    If you want to test a package using cref you should compile sources, convert class files into cap file, create a script for package installation and use apdutool to install and 'run' package in cref.

  • 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 with javacardx.framework.math.BigNumber

    Could somebody point me to a vendor for java cards that support javacardx.framework.math.BigNumber?
    I searched this forum for 2.2.2 vendors, but could only find Athena IDProtect (http://www.athena-scs.com/product.asp?pid=32). The friendly support at Athena told me that this card does support the above package.
    Are there any other vendors of 2.2.2 cards that I could contact?

    Hi
    I am student working on a smart card project
    i am totally new to this field i have a lot of doughs to be cleared ..can you help me in this section
    my email id [email protected]
    i have return my doughs under the title : What is Client-Side API for RMI on the Java Card Platform
    : java card virtual machine

  • I have a ipod touch and i got it for christmas with an iTunes card .the problem is that i downloaded videos and now it said that there is not enough space and i only downloaded 8 and now 5 don't download how do i erase them.can  get my money back

    i have a ipod touch and i got it for christmas with an iTunes card .the problem is that i downloaded videos and now it said that there is not enough space and i only downloaded 8 and now 5 don't download how do i erase them.can  get my money back

    Whatever you read about iTunes is wrong unless you're actually referring to feature movies, not videos. Videos, apps, music and iBooks you can re-download:
    http://support.apple.com/kb/ht2519
    Download to your computer and then sync to your iPod touch whatever will fit.
    And no, I can't say with certainty that they won't give you a refund, but it's unlikely. The most probable outcome, if you do indeed mean movies, not TV shows or other videos, is that they would set up an additional download. For other content they'll probably just direct you to the same instructions on re-downloading I just posted.

  • TS1369 I can not connect my i phone 4 to itunes. It needs an update inorder to recognise my sim card as there is not a carrier option in settings on the phone. How do I cnnect to itunes?

    I need to sync to itunes to seach for updates for my iphone 4. I have had a new SIM card and the phone does not recognise it (yes it is on the same network). In settings there does not appear to be a 'carrier' option. Apparently thi is quite common and all I need to do is update through itunes.
    Itunes or my computer is not recognising my phone at all. What do I need to do? I have not sunced with this computer before either

    Hello there jlc86,
    I would recommend this troubleshooting article named iPhone not appearing in iTunes found here http://www.apple.com/support/iphone/assistant/itunes/.
    All the best,
    Sterling

Maybe you are looking for