Java card developpment kit

Hello,
I have problem starting java card tools, when i tape "converter" for example in command line, it tall "G:\program" unknown command. I think that that i set the environment variable as described in the manual.
Thanks for an answer.

hi mohammed,
this is a issue in windows systems while handling paths having SPACE in it. there are two workarounds for this.
1. As Dmitri said, you can use path with no SPACES in it.
or
2. while giving paths with SPACES, put the entire path in double qoutes.
eg; "G:\Program files\JavaCard2.2.1"
hope this helps you

Similar Messages

  • Can I use Java Card Development Kit 2.2.1 on Windows XP?

    Can I use Java Card Development Kit 2.2.1 on Windows XP?
    If no, which kit supports XP?

    It is not as strait forward as per say.
    I would like to share some tips that I have learnt duirng my recent experience with Java Card Development Kit 2.1.2 ( It presumed that JAVA SDK and JCDK is properly installed:
    Additonal installation
    - you need to download Java Communicatons API version 2.o for Windows at http://java.sun.com/products/javacomm/downloads/index.html
    - unzip the downloaded file javacom20-win20.zip
    - copy comm.jar and javax.com.properties to %JAVA_HOME%\lib
    - copy win32com.dll to %JAVA_HOME%\bin
    Configuration of Environment
    - Activate System under Control Panel
    - Click Environment Variable button under Advance Tab.
    - Check that JAVA_HOME and JC21_HOME are there under User Variables for user123
    - Create a new enviroment by clicking New button under User Variables and Enter "CLASSPATH" for Variable Name and ".;c:\j2sdk1.4.1_04\lib\comm.jar for Variable Value ( the ".;" is important for the entry and varies according to your JAVA_HOME)
    Modifying %JC21_HOME%\samples\build_samples.bat
    - Next you need to modify the compiler option in build_samples.bat
    - Use editor to look for the portion "Compile Sample" and add "- target 1.1" to every statements here. A sample is listed below:
    %JAVA_HOME%\bin\javac -target 1.1 %JCFLAGS% src\com\sun\javacard\samples\HelloWorld\*.java
    You may proceed to test the demo codes as instrucrted in the User Guide.
    I hope the above will help those who are keen to have a head start in Java Card Developemnet.

  • Java Card Development Kit 2.2.1  error !!

    when i run jcwde in the DOS prompt after installing Java Card Development Kit 2.2.1,I got this error message:
    it returens Exception in thread "main" java.lang.NoClassDefFoundError: Card
    Any idea about this error
    THANSKS
    nihao

    Did you set the CLASSPATH?
    SET CLASSPATH=%JC_HOME%\lib\api.jar;%CLASSPATH%

  • Java Card Development Kit

    Can I use Java Card Development Kit 2.2.1 on Windows XP?
    If no, which kit supports XP?

    It is not as strait forward as per say.
    I would like to share some tips that I have learnt duirng my recent experience with Java Card Development Kit 2.1.2 ( It presumed that JAVA SDK and JCDK is properly installed:
    Additonal installation
    - you need to download Java Communicatons API version 2.o for Windows at http://java.sun.com/products/javacomm/downloads/index.html
    - unzip the downloaded file javacom20-win20.zip
    - copy comm.jar and javax.com.properties to %JAVA_HOME%\lib
    - copy win32com.dll to %JAVA_HOME%\bin
    Configuration of Environment
    - Activate System under Control Panel
    - Click Environment Variable button under Advance Tab.
    - Check that JAVA_HOME and JC21_HOME are there under User Variables for user123
    - Create a new enviroment by clicking New button under User Variables and Enter "CLASSPATH" for Variable Name and ".;c:\j2sdk1.4.1_04\lib\comm.jar for Variable Value ( the ".;" is important for the entry and varies according to your JAVA_HOME)
    Modifying %JC21_HOME%\samples\build_samples.bat
    - Next you need to modify the compiler option in build_samples.bat
    - Use editor to look for the portion "Compile Sample" and add "- target 1.1" to every statements here. A sample is listed below:
    %JAVA_HOME%\bin\javac -target 1.1 %JCFLAGS% src\com\sun\javacard\samples\HelloWorld\*.java
    You may proceed to test the demo codes as instrucrted in the User Guide.
    I hope the above will help those who are keen to have a head start in Java Card Developemnet.

  • Help about running Java Card developement Kit Demo

    I am following the Java Card development kit step by step. I have set all environments but I could not run the demo at all. D:\JAVACARD\SAMPLES\SRC\DEMO>
    if I type "jcwde jcwde.app" at the demo directory, it tells me that, jcwde is not an intenal or batch file command. when I copied the jcwde.bat from bin directory to demo directory, it run but a lot of erros.
    I will be glad if somebody can help to overcome this initial and very important steps in my adventure to smart card.
    Thanks

    Thanks everybody for their contribution and suggestion. I have been able to make the demo works apart from demo1 which still give problems.
    if I type jcwde jcwde.app, it gives me the following errors.
    Java Card 2.2 Workstation Development Environment (version 0.18).
    Copyright 2002 Sun Microsystems, Inc. All rights reserved.
    jcwde is listening for T=0 Apdu's on TCP/IP port 9,025.
    Exception in thread "main" java.lang.IllegalAccessError: class javacard.framewor
    k.JCWDEDispatcher cannot access its superclass javacard.framework.Dispatcher
    at java.lang.ClassLoader.defineClass0(Native Method)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:509)
    at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:12
    3)
    at java.net.URLClassLoader.defineClass(URLClassLoader.java:246)
    at java.net.URLClassLoader.access$100(URLClassLoader.java:54)
    at java.net.URLClassLoader$1.run(URLClassLoader.java:193)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:186)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:265)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:262)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:322)
    at com.sun.javacard.jcwde.Main.run(Main.java:77)
    at com.sun.javacard.jcwde.Main.main(Main.java:141)

  • ISO7816 for the Java Card Development Kit

    I'm having problems compiling the sample applets for the Java Card Development Kit (2.1.2). I keep getting the error that anything related to ISO7816 is not recognized. Is there something else I need to have in order to run this?

    You must have not Downloaded the Java Card API211 &Must not Have Given the class path.
    Neelesh

  • Updated link to Java Card Development Kit and related documentation

    Note that the right link for Java Card Development Kit and related documentation is
    http://www.oracle.com/technetwork/java/javame/javacard/download/index.html
    It used to be
    http://www.oracle.com/technetwork/java/javacard/downloads/index.html
    which is still on-line, but the links there are dead and sometime to obsolete stuff.

    If you don't have those directories, obviously, you don't have the source release with cryptographic extensions. You have a different release.
    The version you downloaded isn't a source release but you still have the full kit.
    For the src release, contact $un for a license.

  • Use of Java Card Development Kit

    Im a student doing a dissertation on Java Smart Card for a conversion Masters in Computing. I have been using the Java Card 2.1.2 Development Kit and User's guide. However, could anyone comment on the extent to which the kit is used in industry.
    Is it superseded by other development kits/IDEs? Is it incorporated into proprietary IDEs.
    Any feedback would be much appreciated.

    The kit is used extensively in the industry.
    When you buy a vendor's kit, they extend the Sun APIs and implement the JCRE based on the specifications.
    Also when you purchase a kit, you get additional implementation like crypto and Global Platform.
    Don't worry about incorporating kits into any IDE's. The applet's are very small and you can use any editor for it. A GOOD vendor kit will allow off card debugging/simulation. Gemplu$ has an implementation for Cafe, and Metrowerks has a JC IDE.

  • Can I install Java Card Development Kit on Debian GNU\linux?

    if that can be posible, how can do it?
    Thanks. ;)

    Please help,
    I am new to Java.
    I want to develop java programs.
    I have Linux, (mandarake flavour) installed on my
    computer.
    I know that there are diffent linux flavors.
    I have to the development kit download at:
    http://java.sun.com/j2se/1.4/download.html
    the page has downloads for
    Windows (U.S. English only) N/A
    Windows (all languages, including English)
    Linux Red Hat shell script
    Linux GNUZIP Tar shell script
    SolarisTM SPARCTM 32-bit binary
    Solaris Intel tar.Z N/A
    Installation Instructions
    Does this mean that I cannot use java development kit
    for my Linux version?????
    If I can I guess with the download it will tell me how
    to do installation for Linux? (I know sometimes only
    provide installation for Linux)The JDK has been rename J2SE (ie J2SE is the development kit).

  • 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

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

  • Seeking Help for Guidance in developing a product using JAVA CARD

    Hi All,
    I am using windows environment with netbeans 6.8 as developer tool and MySql Server connectivity for back end process.My requirement is to develop applets and installing them to my Smart card and reader.my question is
    1. how i am supposed to create applets to get the student id of particular student whose id is already registered in the database?
    2. how to install them into the smart card?
    3.what are the commands i am supposed to follow if other than APDU commands?
    4.i found there is APDU commands but what do that each CLA,INS,p1,p2,Lc,le..commands used for?how can i use them in my creation of applets.i found the command varies for certain requirements.
    5.if possible please help me with a small example so that i will start developing it.
    can anyone help me in developing this application.i will be so helpful if anyone helps me in guiding me to develop the java card product.
    Edited by: Sijukj on Mar 4, 2010 7:04 AM

    Hi,
    Welcome to the wonderful world of embedded Java development!
    Sijukj wrote:
    1. how i am supposed to create applets to get the student id of particular student whose id is already registered in the database?The first step is to download the Java Card Development Kit (JCDK) from the Sun website (along with the related documentation/specifications). If you plan on using your code on a real card, I would recommend JC version 2.2.1 or 2.2.2. If it is sufficient to run your applet on a simulator (as a proof of concept or for assignments) with no intention on running on real hardware you could go for JC 3.0.2 and use the supplied simulator. This version of JC does not have commercially available cards as of yet.
    Once you have the applet coded and installed on your card, you would personalise the card for the card holder. This means loading card holder specific data into your application. This may also involve registering the smart card ID with the student in your database.
    2. how to install them into the smart card?The procedure for loading and installing applets is outlined in the Java Card documentation (available with the JC development kits from Sun) and the GlobalPlatform card specifications (available from [http://www.globalplatform.org]). You can look into some open source tools for doing this (GPShell and the Java Card Development Kit).
    3.what are the commands i am supposed to follow if other than APDU commands?This depends on what you are trying to achieve with your applet. If you want interoperability you could implement a standard like ISO7816 or IOS24727. This is a lot of work so you may just want to implement the proprietary you require for each operation you need (e.g. set student ID, get student ID etc).
    4.i found there is APDU commands but what do that each CLA,INS,p1,p2,Lc,le..commands used for?how can i use them in my creation of applets.i found the command varies for certain requirements.These are defined in ISO7816 part 4.
    The CLA byte gives information on the command you are sending such as secure messaging, command chaining, ISO or proprietary command
    The INS is the instruction or command you are trying to perform
    P1 and P2 are parameters to the command. These may not be required for each command but are able to be used to convey further information to the applet.
    Lc is the length of the data field you are sending (e.g. for a PUT DATA command this would be the amount of data you are sending)
    Le is the length of the data you expect to receive back from the card. If this is absent you do not expect the card to return any data, 0x00 means send all the data you have left (up to the limit of the response APDU)
    5.if possible please help me with a small example so that i will start developing it.You can find example code in the Java Card Development Kit. There are a wide range of examples there that can help you get started.
    Cheers,
    Shane

  • Why do we need IDE or tools for java card programming?

    Hi,
    I am a newbie to java card, using java card kit tools themself, we can test and burn the code into card right?
    then why do we need IDE for java card, please correct me , if i am wrong,
    Thanks in advance,
    Sri.

    Dear Sri,
    We have compiler, linker etc for every language starting of from C or C++ or Java. JDK has all the tools necessary to develop and run a Java program. Similarly Java Card Development Kit has all the tools for developing and deploying a Java Card applet. But what an IDE does is too integrate all these tools and make it easier for the JavaCard programmer to develop his applets. Just like Eclipse is used for Java applet development.And not everytime the code is burned to the card. Its only during masking code is burned to the card, i.e if u can call it burning. Masking makes an applet permanent on the card.

  • Starting java card

    I am new to java card can anyone tell how to begin
    from installing ide or toolkit to writing application please provide links for downloading ide or api's
    thanks

    As for the IDE, you can use Ecplise with the Java Card Plugin:
    http://www.eclipse.org/downloads/
    http://eclipse-jcde.sourceforge.net/
    Of course, you will also need the Java Card Development Kit:
    http://java.sun.com/javacard/devkit/
    Also, check out this tutorial on Java Card applets:
    http://www.javaworld.com/javaworld/jw-07-1999/jw-07-javacard.html

  • How java card technology could be installed on Nokia 6131 NFC

    Hi all,
    these days i' busy with a NFC. i wanna know how to install java card technology to Nokia 6131 NFC phone.
    I'm using Sun java card development kit 2.2.
    thanks

    Hi
    Using Omnikey Cardman 5231 reader and JCOP Tools, i am trying to install an applet on to the secure element of Nokia 6131 NFC
    1. i am able to successfully install the unlock midlet.
    2. i got the ATR message from
    cm>/card
    resetCard with timeout: 0 (ms)
    --Waiting for card...
    ATR=3B 88 80 01 00 73 C8 40 13 00 90 00 71 ;[email protected]
    ATR: T=0, T=1, Hist=0073C84013009000
    => 00 A4 04 00 09 A0 00 00 01 67 41 30 00 FF .........gA0..
    (26335 usec)
    <= 6A 82 j.
    Status: File not found
    => 00 A4 04 00 07 A0 00 00 00 03 00 00 00 .............
    (37623 usec)
    <= 6F 10 84 08 A0 00 00 00 03 00 00 00 A5 04 9F 65 o..............e
    01 FF 90 00 ....
    Status: No Error
    i set the keys
    set-key 42/1/DES-ECB/404142434445464748494A4B4C4D4E4F 42/2/DES-ECB/404142434445464748494A4B4C4D4E4F 42/3/DES-ECB/404142434445464748494A4B4C4D4E4F
    Next init-update, i am getting error in this step
    cm>init-update 42
    => 80 50 2A 00 08 59 FE 2C 3F 80 D1 2F F4 00 .P*..Y.,?../..
    (33921 usec)
    <= 6A 88 j.
    Status: Reference data not found
    jcshell: Error code: 6a88 (Reference data not found)
    jcshell: Wrong response APDU: 6A88
    i appreciate if any one could let us know correct keys or any step by step process that is needed to follow, so that i can successfully install the applet on the secure element of Nokia 6131 NFC phone.

Maybe you are looking for

  • ThinkVantage Active Protection for Windows XP, Vista, and 7 missing from driver matrix

    Recently, while checking the Software link: http://support.lenovo.com/ca/en/documents/ht037696 I noticed: Active Protection System Like an airbag's sensor, it can detect sudden changes in motion and temporarily stop the hard drive to help protect you

  • Using Nano as thumbdrive

    Hey there, I have an iPod shuffle which doubles as my USB thumbdrive but I want to get a Nano. Can you use a Nano as a thumbdrive to store documents, etc as well? Thanks.

  • CRM is unicode R/3 is non-unicode

    We are about to install a new CRM 4.0 system based on WAS 6.40 and choose the unicode option. This system will be talking to an R/3 system which is enterprise and is non-unicode. CRM will be accessed via a portal. We will be installing about 18 langu

  • Editing Text in PSE4

    I recently purchased Adobe Photoshop Elements 4 and I am trying to edit text in a saved document/picture and it wont let me select the text to change the fonts, colors, etc.. It makes a text box to add text. Can someone please explain how to do this.

  • Fluid grid pink columns gone

    This is probably a really simple question but.... I have been creating my first fluid grid layout. There were nice, helpful pink columns - but not any more. I can't find a way to get them back. Guess I have "hot keyed" something off ...  can somebody