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.

Similar Messages

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

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

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

  • CAN I USE JAVA CARD TECHNOLOGY TO BUILD BIOMETRIC COLLEGE ATTENDANCE SYSTEM

    HELLO everybody,
    I am new in Java card technology.Please any one can guide me.Can i use Java Card Technology to build biometrics college attendance system.If i can so which device should i need to buy or eBooks..
    PLEASE I NEED HELP..
    Thanks for your time ..
    I am looking forward to hearing from everyone..
    Thanks
    Durjan Hussain
    SCJP1.4,SCWCD

    Thanks AlexRashevsky for your good comments,
    I want to build Student Biometrics Attendance system.I want to use biometrics reader.Please i need guide for which biometrics device can i use to build the system.If you can give me your contact number that could be great with country code.Because i am doing this Project for my M.Sc dissertation and also for real client.
    I am looking forward to hear from you.
    Thanks.

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

  • 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

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

  • Safari cannot support Java 7., how can I use Java 6 developed by Apple?

    I was told to go the Terminal page and to key in the scipts provided by Apple but still could not get rid of Java 7 and restore to Apple's Java 6.
    The plug in is now blocked.
    http://support.apple.com/kb/HT5559?viewlocale=en_US

    Who says you can't have Java on a Mac. Just make sure you have the latest version, downloaded from http://java.com/en/download/index.jsp or thru the Java Control Panel if you had installed the previous Oracle-released version.
    Here's my Safari window (also works in the other browsers):

  • 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

  • How to start java card development?

    Good Evening all,
    I am novice for java card development , from last some days I study java card and terms related to it, now i have some knowledge about applets , and API. as i read about java card 2 and 3, I think i moved to java card 2 that's why i download jcdk 2.1.
    Now i want to do something in development rather than further conceptual study. Frankly speaking I m confused where to move because different sites have different point of view so i want to execute my knowledge which i earned from last some days...
    so I want to ask
    1- which IDE would be best for java card development? { eclipse or net beans or something other}
    2- what things i would be require during java card application?{ java sdk version? jcdk version? ocf? or what}
    3- at start i want to use simulation technique to test what i made and how its work, so for this which tool or IDE would be best work for me,
    so kindly request you to guide me and show me the path where i can move and achieve what i want..
    ---------------------------------------------------------------------------------------------------Thank you in advance------------------------------------------
    Edited by: 911936 on Feb 2, 2012 10:01 AM

    Hello umer,
    last night it seems very tough to execute sample program of jcdk 2.2 but finally i make it, and i also i got the IDE - net beans that is very good for java card...
    I think i should share my knowledge here for next novice people...
    ----------------------------------------------------------------------------java card development require-------------------------------------------------------------
    Because here we use java for java card so we require
    1- java development kit (JDK) - use below link to get this.
    [get jdk here|http://download.oracle.com/otn-pub/java/jdk/6u30-b12/jdk-6u30-windows-i586.exe]
    2- Java card require java card development kit (JCDK) I think java card version 3 is latest but i used jcdk 2.2.1
    [get jcdk here|http://download.oracle.com/otn-pub/java/java_card_kit/2.2_01/java_card_kit-2_2_01-win-gl.zip]
    now  i think this is enough to start java card development...
    follow below steps
    1- install jdk 6 in c:/java/jdk1.6
    2-keep jcdk in c:/java_card_kit-2_2
    3- open command prompt and run
    a)-set JC_HOME=c:\java_card_kit-2_2
    b)-set JAVA_HOME=c:\java/jdk1.6
    c)-set PATH=%JC_HOME%\bin;%PATH%
    4-there are some sample project in scdk, if you want to get confidence , u should run one of them..
    run command- jcwde jcwde.app { jcwde is a simulator where u check what u made }
    and run this command in another command prompt- apdutool -nobanner -noatr demo1.scr > demo1.scr.jcwde.out
    You can get detail of 3 and 4 step from cJDK_Users_Guide.pdf which is present in jcdk.
    ------------------------this  is all which u need to do to get confidence in java card, but dont be over confident because in reality "the ball is not in your court yet"
    Note- if you are searching which java IDE is best for java card development then
    [click here- this is one of the best ide for java card|http://dlc.sun.com.edgesuite.net/netbeans/7.1/final/bundles/netbeans-7.1-ml-windows.exe]
    Edited by: 911936 on Feb 3, 2012 8:58 AM

  • Can't use "java" command

    I just can't use the java command...
    The paths have been set and everything should work...
    If I just type "java" (without the "") I get:
    Usage: java [-options] class [args...]
    (to execute a class)
    or java -jar [-options] jarfile [args...]
    (to execute a jar file)
    where options include:
    -client to select the "client" VM
    -server to select the "server" VM
    -hotspot is a synonym for the "client" VM [deprecated]
    The default VM is client.
    -cp -classpath <directories and zip/jar files separated by ;>
    set search path for application classes and resources
    -D<name>=<value>
    set a system property
    -verbose[:class|gc|jni]
    enable verbose output
    -version print product version and exit
    -showversion print product version and continue
    -? -help print this help message
    -X print help on non-standard options
    -ea[:<packagename>...|:<classname>]
    -enableassertions[:<packagename>...|:<classname>]
    enable assertions
    -da[:<packagename>...|:<classname>]
    -disableassertions[:<packagename>...|:<classname>]
    disable assertions
    -esa | -enablesystemassertions
    enable system assertions
    -dsa | -disablesystemassertions
    disable system assertions
    And if I type "java Oper" (It compiled normally and worked on my school computer) it gives me this error:
    Exception in thread "main" java.lang.NoClassDefFoundError: Oper
    It works everywhere but on my computer...
    Oh, and I have Java Builder 3 University Edition installed. When I use that to compile + run my program, it works perfectely... I just can't use "java" in command prompt. I have a Windows ME.
    Another note, this may be related: I can't use certain Java applets on my computer, like the IRC applets for example. I tried it on both Netscape 7.01 and Internet Explorer 6.0.2800.1106. It displays the same kind of error, the Exception in thread "..." java.lang.NoClassDefFoundError: ... .
    And I've already tried uninstalling + reinstalling. Any other suggestions?

    start -> run -> cmd
    (if it doesn't open command prompt, then try command instead of cmd)
    once you have reached command prompt, then you change to some empty directory where you would like to create java or class files. (use cd command for that)
    once you have reached that directory, type: notepad Hello.java
    (it should open notepad, and it should prompt you a question if you want to create file Hello.java (since it didn't excist) ... click yes)
    in notepad type the following:class Hello {
    public static void main(String[] args) {
      System.out.println("Hello");
    }once you have written that into notepad, then click File and choose Save from there.
    now you may close your notepad.
    now go back to that command prompt and type in command dir Hello.*
    it should lis you all Hello.* files, and Hello.java should be one of these.
    now, when you have seen that in your current directory a Hello.java does excist, you may type javac Hello.java
    if it does compile whitout any errors then everything is OK so far.
    type again dir Hello.*
    now you should see two files, Hello.java and Hello.class
    if you now saw that Hello.class was in the current directory, you may type the following command: java Hello
    it should display a String "Hello" on your screen.
    if it doesn't work, then you have problem with java not working from commandline (some classpaths are wrong or unset or smthng similar)
    if you suspect that something doesn't work, then always test it with simplest task.

  • 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

  • I can not download SAP Business Intelligence Java Software Development Kit

    Does anybody know why I can´t download
    SAP Business Intelligence Java Software Development Kit
    I get a Error i don´t know if I do something wrong i have an account and i am able to download all the other thing but not this.
    403
    Sorry, you do not have the correct
    permissions to access this page.
    You may have received this link from another user with permissions different from your own, or you may be trying to access a page restricted to your user-type.
    However, if you believe this error is the result of a technical problem unrelated to your permissions, please take a screenshot of this page (usually Function + Print Screen), or copy the URL from the browser address bar along with the text of the error message and email it to [email protected] Please include your SDN User-ID in all correspondence.

    OK i mailed it and became that notice
    This is caused by a bad URL. I am forwarding to our Content Team for correction. Please try pasting the URL below into the address bar of an SDN session. This is the direct url to the download.
    ftp://ftp.sap.com/pub/sdn/devkits/BI-SDK/bi_sdk.zip

Maybe you are looking for

  • Problem with connecting [Microsoft][ODBC Driver Manager]

    I am employing the Apache Tomcat 5.5.During the time of execution one Exception occur which implies [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified In ordinary way of execution of DataBase connectivity(with

  • G4 losing network connection

    I have a G4 that I've recently installed OS X Server on. However, I've been having random network failures. I simply detach the enet cable and reattach to regain my connection. I opened network utility and here's some stuff I found. Sent Packets: 115

  • Connecting issue with Hyperion Essbase 11.1.2.1 on my laptop

    I have installed hyperion 11.1.2.1 on my I5 4BG 500 GB laptop using windows 7 Ultimate i have done about 5 installs the last couple of intstall's I have completely wipe-out my system complete restore to factory setting !!! everything in installed and

  • ABAP Objects: Introduction to Programming SAP Applications

    Hi, does anybody knows any tutorial that would explain me how to install and make available in my SAP installation the examples and database that comes with this book ABAP Objects: Introduction to Programming SAP Applications The point is that i coul

  • Template must be in the forms directory

    i uploaded a word document to site assets, and took the url and went to the shared documents, advanced settings for shared documents, then tried to change the template url to the one in site assets, i get this error : Invalid template URL. The templa