How to wriet AppletTest.scr

In the sample of Java Card development kit 2.1.2, demo1.scr and ApplicTest.scr are given to test the Applet. How are those files generated? Do I have to write them manually in Hex format? Where can I find relate documentation?

I think (not 100% sure), this the list of apdu commands to send to the emulator to be able to "play" with your javacard applet.
Scriptgen creates apdu commands to store your applet in the card.
But there must be a script to debit or credit values from your purse in the wallet applet for instance.
Basically, to create it, you need to know what the applet is waiting for and the APDU's commands format...

Similar Messages

  • How can use files *:SCR in AS400

    Actually I working with OLAP ESSBASE in a AS400.<BR>I need create a process to automated the clear all of a Cube<BR>I know the process in Windows<BR>Create a notepad file with this sentences and save file with the extension SCR<BR>            LOGIN "Machine" "User" "Password" "Application" "Database";<BR>            RESETDB ;<BR>            EXIT ;<BR>Then, create a file :bat with a sentence<BR> ESSCMD FILE.SCR<BR>and finally execute the file *.bat<BR><BR>In AS400 the ESSCMD have a lot parameters:<BR><BR> RUN ESSBASE/400 COMMANDS (ESSCMD) <BR> <BR>INPUT FILE NAME . . . . . . . . INFILE NONE         <BR>  LIBRARY  . . . . . . . . . . .                  LIBL <BR>INPUT MEMBER . . . . . . . . . . INMBR FIRST        <BR>OUTPUT FILE NAME . . . . . . . . OUTFILE        NONE <BR> LIBRARY . . . . . . . . . . . LIBL       <BR>OUTPUT MEMBER NAME . . . . . . . OUTMBR         FIRST <BR>ERROR LOG FILE NAME . . . . . . ERRFILE NONE         <BR>  LIBRARY  . . . . . . . . . . .                  LIBL <BR>ERROR LOG MEMBER NAME . . . . . ERRMBR FIRST        <BR><BR>I tested with a file source and a member TXT with the sentences of the file .scr<BR>and then put every parameters in a INPUT options and run the Command, but inmediatelly show me the next screen :<BR> Essbase Command Mode Interface - Release 6.5.4 (6.5.4) <BR> Copyright(c) 1991-2003 Hyperion Solutions Corporation. All rights reserved. <BR> <BR> U.S. Patent Number 5,359,724 <BR> U.S. Patent Number 6,317,750 <BR> <BR> <BR> ESSCMD/400 is running in AS/400 interactive mode <BR> ESSCMD/400 is using *COMPLETE script syntax                                 <BR>                                                                             <BR>                                                                             <BR> ESSLANG environment variable not set                                        <BR>                                                                             <BR> Using default locale "English_UnitedStates.US-ASCII@Binary"...              <BR>                                                                             <BR> (Wed Feb  1 16:18:52 2006)Local////Error(1040007)                           <BR> Error 1040007. Cannot find message database                                 <BR><BR><BR><BR>Can somebody help me?<BR>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

    There's a sample in the FABridge.zip download (called
    EmptySwf.as) that
    shows how to use the bridge in a non-framework actionscript
    only app.
    There's nothing in the bridge that requires the framework.
    Jason Szeto
    Adobe Flex SDK Developer
    "wlt008" <[email protected]> wrote in
    message
    news:e4c2k4$rob$[email protected]..
    >I want to build an ActionScript project instead of flex,
    how can use
    >FABridge library in my project?

  • What type of SCR to use?

    i need to construct a three phase full converter without using a three phase transformer to control my output voltage, but i should use the firing angle to meet:
    *Voltage source RMS value L-L : 750 V
    *Source Frequency                    : 5000Hz
    *Load Resistance                      : 10 Ohms
    *Load Inductance                       : 50 mH
    * Harmonics %                           : 10%
    *DC output Voltage% of output Voltage maximum : 85%
    can someone help me out please, because i should use a Thyristor (SCR) to control my circuit, and my circuit is not working when i try to simulate it. Plus i don't know how to plug an SCR in the crcuit and what type of SCR to plug.
    Thanks for helping.
    Roy Akel

    Dear Roy,
    Could you please tell us the exact SCR modell you had tried?
    What do you mean by "my circuit is not working"?
    Thank you,
    Marton Litkei
    NI Hungary

  • How can i ensure my program works?

    Hi,
    i wrote a simple program and i used th apdu tool with jcwde. My question is, whith this small program i can see it works (i guess), but i want to write another a litle bit more complex, which will add a popup menu with several options. How can i visualize it in text mode?
    Is There any emulator?
    Please help me!

    Thanx for replay!
    This is what i want to do:
    I Want to write an application that sets a menu in to the Mobile, and i want to be able to select my option from the menu and then the program must send an sms depending on the option chosen. As you realize its very dificult to write such app and test it in HEX mode, i want to be able to this the options on the screen, to select the option and even to read data from the keyboard.
    Can you help me!?
    Other thing:
    i'm having some problems doing a litle examples writing something to the Display.
    Do i have to write my own app file to run with JCWDE? how?
    And the scr file should i use the scriptgen? I find out that i must edit scr file and write powerup;
    the installer and powerdown;
    how the installer should be if i want him to do nothing(no parametes?), until an option is made?
    Thanx in advance

  • Creating Screensaver .scr file

    Does anyone know how to create a .scr file for Windows screensavers? Is there a way to export it directly from FCP, or use Compressor or QT Pro? I have created a movie for a client, but they would like a short clip in a screensaver and I really don't have a clue how to do this.
    Any help would be appreciated,
    Lawrence

    Ok,
    Well, I think I've found an application that will do this, but I can't get to the company's website to see if they have a version mac version available because of my Web Nanny where I work (offshore).
    The app is called iScreensaver Designer 3. For anyone searching posts for a similar issue, I'll post an update when I get home on the first of the year. If anyone discovers an app that works well with FCP or even QT, please let me know.
    Thanks,
    Lawrence

  • How to run Java Card 2.2.1 demo application?

    Hi Friends..
    i want to know how to run Java Card 2.2.1 demo application in Windows environment..
    Sorry, perhaps this question looks like a little bit stupid.. :(
    In Windows, I've set the environment variables for :
    JAVA_HOME : C:\Program Files\Java\jdk1.6.0_03
    JC_HOME : C:\java_card_kit-2_2_1
    and then how to run demo1.scr, etc?.
    Please help me regarding this,
    Thanks in advance..

    Is there any suggestion for my question?.. :(
    Thanks in advance..

  • Problem with running jcwde

    Hi !
    I am using jdk1.3 and jc2.1.2 .
    Have set the classpaths and the enviornment variables as per the user guide.
    At the command prompt I give C:>jcwde
    and get the following error :
    Exception in thread "main" java.lang.NoClassDefFoundError: Download .
    Before this I ran the build_sample.bat also.
    It inflated a whole set of files and then got the error :
    Exception in thread "main" java.lang.NoClassDefFoundError: Download
    Exception in thread "main" java.lang.NoClassDefFoundError: Download
    Exception in thread "main" java.lang.NoClassDefFoundError: Download
    Exception in thread "main" java.lang.NoClassDefFoundError: Download
    Exception in thread "main" java.lang.NoClassDefFoundError: Download
    Exception in thread "main" java.lang.NoClassDefFoundError: Download
    Exception in thread "main" java.lang.NoClassDefFoundError: Download
    Exception in thread "main" java.lang.NoClassDefFoundError: Download
    Exception in thread "main" java.lang.NoClassDefFoundError: Download
    Exception in thread "main" java.lang.NoClassDefFoundError: Download
    Header.scr
    AppletTest.scr
    Footer.scr
    1 file(s) copied.
    What is wrong ???
    Please help !!!

    The classpath is the same as the one in jcwde.bat file.
    %JC21_HOME%\lib\apduio.jar;%JC21_HOME%\lib\apdutool.jar;%JC21_HOME%\lib\jcwde.jar;%JC21_HOME%\lib\converter.jar;%JC21_HOME%\lib\scriptgen.jar;%JC21_HOME%\lib\offcardverifier.jar;%JC21_HOME%\lib\api21.jar;%JC21_HOME%\lib\capdump.jar;%JC21_HOME%\samples\classes
    where JC21_HOME = C:\java_card_kit-2_1_2
    Instead of running the batch file, I explicitly did
    C:\java_card_kit-2_1_2\samples\src\demo> java com.sun.javacard.jcwde.Main jcwde.app
    and got the foll. exception :
    Java Card 2.1.2 Workstation Development Environment (version 0.18).
    Copyright (c) 2001 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.framework.JCWDEDispatcher cannot access its superclass javacard.framework.Dispatcher
    at java.lang.ClassLoader.defineClass0(Native Method)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:486)
    at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:11
    1)
    at java.net.URLClassLoader.defineClass(URLClassLoader.java:248)
    at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
    at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:297)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:286)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:253)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:313)
    at com.sun.javacard.jcwde.Main.run(Main.java:71)
    at com.sun.javacard.jcwde.Main.main(Main.java:136)
    That sounds like a classpath problem. But can't fig. out what exactly is wrong.
    Any answers ??
    BTW I am on a Win2k system.

  • I got this errors running build_samples.WHY?

    C:\JAVA_C~1\samples>build_samples
    C:\java_card_kit-2_2\api_export_files\java\io\javacard\io.exp
    C:\java_card_kit-2_2\api_export_files\java\lang\javacard\lang.exp
    C:\java_card_kit-2_2\api_export_files\java\rmi\javacard\rmi.exp
    C:\java_card_kit-2_2\api_export_files\javacard\framework\javacard\framework.exp
    C:\java_card_kit-2_2\api_export_files\javacard\framework\service\javacard\servic
    e.exp
    C:\java_card_kit-2_2\api_export_files\javacard\security\javacard\security.exp
    C:\java_card_kit-2_2\api_export_files\javacardx\crypto\javacard\crypto.exp
    7 File copiati
    Java Card 2.2 Class File Converter (version 1.3)
    Copyright 2002 Sun Microsystems, Inc. All rights reserved. Use is subject to lic
    ense terms.
    Assertion (precondition) [member != null] failed at:
    Java Card 2.2 Class File Converter (version 1.3)
    Copyright 2002 Sun Microsystems, Inc. All rights reserved. Use is subject to lic
    ense terms.
    conversion completed with 0 errors and 0 warnings.
    Java Card 2.2 Class File Converter (version 1.3)
    Copyright 2002 Sun Microsystems, Inc. All rights reserved. Use is subject to lic
    ense terms.
    Assertion (precondition) [member != null] failed at:
    Java Card 2.2 Class File Converter (version 1.3)
    Copyright 2002 Sun Microsystems, Inc. All rights reserved. Use is subject to lic
    ense terms.
    Assertion (precondition) [member != null] failed at:
    Java Card 2.2 Class File Converter (version 1.3)
    Copyright 2002 Sun Microsystems, Inc. All rights reserved. Use is subject to lic
    ense terms.
    Assertion (precondition) [member != null] failed at:
    Java Card 2.2 Class File Converter (version 1.3)
    Copyright 2002 Sun Microsystems, Inc. All rights reserved. Use is subject to lic
    ense terms.
    Assertion (precondition) [member != null] failed at:
    Java Card 2.2 Class File Converter (version 1.3)
    Copyright 2002 Sun Microsystems, Inc. All rights reserved. Use is subject to lic
    ense terms.
    Assertion (precondition) [member != null] failed at:
    Java Card 2.2 Class File Converter (version 1.3)
    Copyright 2002 Sun Microsystems, Inc. All rights reserved. Use is subject to lic
    ense terms.
    Assertion (precondition) [member != null] failed at:
    Java Card 2.2 Class File Converter (version 1.3)
    Copyright 2002 Sun Microsystems, Inc. All rights reserved. Use is subject to lic
    ense terms.
    Assertion (precondition) [member != null] failed at:
    Java Card 2.2 Class File Converter (version 1.3)
    Copyright 2002 Sun Microsystems, Inc. All rights reserved. Use is subject to lic
    ense terms.
    conversion completed with 0 errors and 0 warnings.
    Java Card 2.2 Class File Converter (version 1.3)
    Copyright 2002 Sun Microsystems, Inc. All rights reserved. Use is subject to lic
    ense terms.
    Assertion (precondition) [member != null] failed at:
    Java Card 2.2 Class File Converter (version 1.3)
    Copyright 2002 Sun Microsystems, Inc. All rights reserved. Use is subject to lic
    ense terms.
    Assertion (precondition) [member != null] failed at:
    Unaccessable: ..\..\classes\com\sun\javacard\samples\JavaLoyalty\javacard\JavaLo
    yalty.cap
    Unaccessable: ..\..\classes\com\sun\javacard\samples\JavaPurse\javacard\JavaPurs
    e.cap
    Java Card 2.2 APDU Script File Builder (version 0.11)
    Copyright 2002 Sun Microsystems, Inc. All rights reserved.
    APDU script file for CAP file download generated.
    Unaccessable: ..\..\classes\com\sun\javacard\samples\wallet\javacard\wallet.cap
    Unaccessable: ..\..\classes\com\sun\javacard\samples\RMIDemo\javacard\RMIDemo.ca
    p
    Unaccessable: ..\..\classes\com\sun\javacard\samples\SecureRMIDemo\javacard\Secu
    reRMIDemo.cap
    Header.scr
    SampleLibrary.scr
    AppletTest.scr
    Footer.scr
    1 file copiati.
    Unaccessable: ..\..\classes\com\sun\javacard\samples\odSample\packageA\javacard\
    packageA.cap
    Unaccessable: ..\..\classes\com\sun\javacard\samples\odSample\packageB\javacard\
    packageB.cap
    Java Card 2.2 APDU Script File Builder (version 0.11)
    Copyright 2002 Sun Microsystems, Inc. All rights reserved.
    APDU script file for CAP file download generated.
    Unaccessable: ..\..\classes\com\sun\javacard\samples\ChannelsDemo\javacard\Chann
    elsDemo.cap
    Header.scr
    packageC.scr
    od1.scr
    Footer.scr
    1 file copiati.
    Header.scr
    od2.scr
    Footer.scr
    1 file copiati.
    Header.scr
    od2-2.scr
    Footer.scr
    1 file copiati.
    Header.scr
    od3.scr
    packageC.scr
    od3-2.scr
    Footer.scr
    1 file copiati.
    Header.scr
    channel.scr
    Footer.scr
    1 file copiati.
    Building the client part of RMI samples...
    c:\java_card_kit-2_2\samples\src_client\com\sun\javacard\clientsamples\purseclie
    nt\PurseClient.java:18: package opencard.core.service does not exist
    import opencard.core.service.*;
    ^
    c:\java_card_kit-2_2\samples\src_client\com\sun\javacard\clientsamples\securepur
    seclient\SecureOCFCardAccessor.java:13: cannot access opencard.core.service.Card
    Service
    file opencard\core\service\CardService.class not found
    public class SecureOCFCardAccessor extends com.sun.javacard.ocfrmiclientimpl.OCF
    CardAccessor {
    ^
    c:\java_card_kit-2_2\samples\src_client\com\sun\javacard\clientsamples\securepur
    seclient\SecureOCFCardAccessorFactory.java:15: package opencard.core.service doe
    s not exist
    import opencard.core.service.CardServiceFactory;
    ^
    c:\java_card_kit-2_2\samples\src_client\com\sun\javacard\clientsamples\securepur
    seclient\SecureOCFCardAccessorFactory.java:16: package opencard.core.service doe
    s not exist
    import opencard.core.service.CardType;
    ^
    c:\java_card_kit-2_2\samples\src_client\com\sun\javacard\clientsamples\securepur
    seclient\SecureOCFCardAccessorFactory.java:18: package opencard.core.terminal do
    es not exist
    import opencard.core.terminal.CardID;
    ^
    c:\java_card_kit-2_2\samples\src_client\com\sun\javacard\clientsamples\securepur
    seclient\SecureOCFCardAccessorFactory.java:19: package opencard.core.service doe
    s not exist
    import opencard.core.service.CardServiceScheduler;
    ^
    c:\java_card_kit-2_2\samples\src_client\com\sun\javacard\clientsamples\securepur
    seclient\SecureOCFCardAccessorFactory.java:33: cannot resolve symbol
    symbol : class CardServiceFactory
    location: class com.sun.javacard.clientsamples.securepurseclient.SecureOCFCardAc
    cessorFactory
    public class SecureOCFCardAccessorFactory extends CardServiceFactory {
    ^
    c:\java_card_kit-2_2\samples\src_client\com\sun\javacard\clientsamples\securepur
    seclient\SecureOCFCardAccessorFactory.java:53: cannot resolve symbol
    symbol : class CardID
    location: class com.sun.javacard.clientsamples.securepurseclient.SecureOCFCardAc
    cessorFactory
    protected CardType getCardType(CardID cid, CardServiceScheduler scheduler){
    ^
    c:\java_card_kit-2_2\samples\src_client\com\sun\javacard\clientsamples\securepur
    seclient\SecureOCFCardAccessorFactory.java:53: cannot resolve symbol
    symbol : class CardServiceScheduler
    location: class com.sun.javacard.clientsamples.securepurseclient.SecureOCFCardAc
    cessorFactory
    protected CardType getCardType(CardID cid, CardServiceScheduler scheduler){
    ^
    c:\java_card_kit-2_2\samples\src_client\com\sun\javacard\clientsamples\securepur
    seclient\SecureOCFCardAccessorFactory.java:53: cannot resolve symbol
    symbol : class CardType
    location: class com.sun.javacard.clientsamples.securepurseclient.SecureOCFCardAc
    cessorFactory
    protected CardType getCardType(CardID cid, CardServiceScheduler scheduler){
    ^
    c:\java_card_kit-2_2\samples\src_client\com\sun\javacard\clientsamples\securepur
    seclient\SecureOCFCardAccessorFactory.java:63: cannot resolve symbol
    symbol : class CardType
    location: class com.sun.javacard.clientsamples.securepurseclient.SecureOCFCardAc
    cessorFactory
    protected Enumeration getClasses(CardType type){
    ^
    c:\java_card_kit-2_2\samples\src_client\com\sun\javacard\clientsamples\securepur
    seclient\SecurePurseClient.java:18: package opencard.core.service does not exist
    import opencard.core.service.*;
    ^
    c:\java_card_kit-2_2\samples\src_client\com\sun\javacard\clientsamples\purseclie
    nt\PurseClient.java:41: cannot resolve symbol
    symbol : variable SmartCard
    location: class com.sun.javacard.clientsamples.purseclient.PurseClient
    SmartCard.start();
    ^
    c:\java_card_kit-2_2\samples\src_client\com\sun\javacard\clientsamples\purseclie
    nt\PurseClient.java:44: cannot resolve symbol
    symbol : class CardRequest
    location: class com.sun.javacard.clientsamples.purseclient.PurseClient
    CardRequest cr = new CardRequest( CardRequest.NEWCARD, null, OCFCard
    Accessor.class );
    ^
    c:\java_card_kit-2_2\samples\src_client\com\sun\javacard\clientsamples\purseclie
    nt\PurseClient.java:44: cannot resolve symbol
    symbol : class CardRequest
    location: class com.sun.javacard.clientsamples.purseclient.PurseClient
    CardRequest cr = new CardRequest( CardRequest.NEWCARD, null, OCFCard
    Accessor.class );
    ^
    c:\java_card_kit-2_2\samples\src_client\com\sun\javacard\clientsamples\purseclie
    nt\PurseClient.java:44: cannot resolve symbol
    symbol : variable CardRequest
    location: class com.sun.javacard.clientsamples.purseclient.PurseClient
    CardRequest cr = new CardRequest( CardRequest.NEWCARD, null, OCFCard
    Accessor.class );
    ^
    c:\java_card_kit-2_2\samples\src_client\com\sun\javacard\clientsamples\purseclie
    nt\PurseClient.java:45: cannot resolve symbol
    symbol : class SmartCard
    location: class com.sun.javacard.clientsamples.purseclient.PurseClient
    SmartCard myCard = SmartCard.waitForCard( cr );
    ^
    c:\java_card_kit-2_2\samples\src_client\com\sun\javacard\clientsamples\purseclie
    nt\PurseClient.java:45: cannot resolve symbol
    symbol : variable SmartCard
    location: class com.sun.javacard.clientsamples.purseclient.PurseClient
    SmartCard myCard = SmartCard.waitForCard( cr );
    ^
    c:\java_card_kit-2_2\samples\src_client\com\sun\javacard\clientsamples\purseclie
    nt\PurseClient.java:105: cannot resolve symbol
    symbol : variable SmartCard
    location: class com.sun.javacard.clientsamples.purseclient.PurseClient
    SmartCard.shutdown();
    ^
    c:\java_card_kit-2_2\samples\src_client\com\sun\javacard\clientsamples\securepur
    seclient\SecureOCFCardAccessor.java:70: cannot resolve symbol
    symbol : variable super
    location: class com.sun.javacard.clientsamples.securepurseclient.SecureOCFCardAc
    cessor
    byte[] receiveDataWithChecksum = super.exchangeAPDU( dataWithChecksum )
    ^
    c:\java_card_kit-2_2\samples\src_client\com\sun\javacard\clientsamples\securepur
    seclient\SecureOCFCardAccessor.java:145: cannot resolve symbol
    symbol : variable this
    location: class com.sun.javacard.clientsamples.securepurseclient.SecureOCFCardAc
    cessor
    byte[] response = this.exchangeAPDU( externalAuthCommand );
    ^
    c:\java_card_kit-2_2\samples\src_client\com\sun\javacard\clientsamples\securepur
    seclient\SecureOCFCardAccessorFactory.java:54: cannot access opencard.core.servi
    ce.CardType
    file opencard\core\service\CardType.class not found
    return new JavaCardType();
    ^
    c:\java_card_kit-2_2\samples\src_client\com\sun\javacard\clientsamples\securepur
    seclient\SecurePurseClient.java:47: cannot resolve symbol
    symbol : variable SmartCard
    location: class com.sun.javacard.clientsamples.securepurseclient.SecurePurseClie
    nt
    SmartCard.start();
    ^
    c:\java_card_kit-2_2\samples\src_client\com\sun\javacard\clientsamples\securepur
    seclient\SecurePurseClient.java:49: cannot resolve symbol
    symbol : class CardRequest
    location: class com.sun.javacard.clientsamples.securepurseclient.SecurePurseClie
    nt
    CardRequest cr = new CardRequest( CardRequest.NEWCARD, null, SecureO
    CFCardAccessor.class );
    ^
    c:\java_card_kit-2_2\samples\src_client\com\sun\javacard\clientsamples\securepur
    seclient\SecurePurseClient.java:49: cannot resolve symbol
    symbol : class CardRequest
    location: class com.sun.javacard.clientsamples.securepurseclient.SecurePurseClie
    nt
    CardRequest cr = new CardRequest( CardRequest.NEWCARD, null, SecureO
    CFCardAccessor.class );
    ^
    c:\java_card_kit-2_2\samples\src_client\com\sun\javacard\clientsamples\securepur
    seclient\SecurePurseClient.java:49: cannot resolve symbol
    symbol : variable CardRequest
    location: class com.sun.javacard.clientsamples.securepurseclient.SecurePurseClie
    nt
    CardRequest cr = new CardRequest( CardRequest.NEWCARD, null, SecureO
    CFCardAccessor.class );
    ^
    c:\java_card_kit-2_2\samples\src_client\com\sun\javacard\clientsamples\securepur
    seclient\SecurePurseClient.java:50: cannot resolve symbol
    symbol : class SmartCard
    location: class com.sun.javacard.clientsamples.securepurseclient.SecurePurseClie
    nt
    SmartCard myCard = SmartCard.waitForCard( cr );
    ^
    c:\java_card_kit-2_2\samples\src_client\com\sun\javacard\clientsamples\securepur
    seclient\SecurePurseClient.java:50: cannot resolve symbol
    symbol : variable SmartCard
    location: class com.sun.javacard.clientsamples.securepurseclient.SecurePurseClie
    nt
    SmartCard myCard = SmartCard.waitForCard( cr );
    ^
    c:\java_card_kit-2_2\samples\src_client\com\sun\javacard\clientsamples\securepur
    seclient\SecurePurseClient.java:57: cannot resolve symbol
    symbol : constructor JavaCardRMIConnect (com.sun.javacard.clientsamples.securep
    urseclient.SecureOCFCardAccessor)
    location: class com.sun.javacard.javax.smartcard.rmiclient.JavaCardRMIConnect
    JavaCardRMIConnect jcRMI = new JavaCardRMIConnect( myCS );
    ^
    c:\java_card_kit-2_2\samples\src_client\com\sun\javacard\clientsamples\securepur
    seclient\SecurePurseClient.java:65: cannot resolve symbol
    symbol : constructor JCCardProxyFactory (com.sun.javacard.clientsamples.securep
    urseclient.SecureOCFCardAccessor)
    location: class com.sun.javacard.ocfrmiclientimpl.JCCardProxyFactory
    CardObjectFactory factory = new JCCardProxyFactory(myCS);
    ^
    c:\java_card_kit-2_2\samples\src_client\com\sun\javacard\clientsamples\securepur
    seclient\SecurePurseClient.java:109: cannot resolve symbol
    symbol : variable SmartCard
    location: class com.sun.javacard.clientsamples.securepurseclient.SecurePurseClie
    nt
    SmartCard.shutdown();
    ^
    31 errors

    Have you searched this forum to see if this has been answered a million times before you posted ?
    Sun took the time and energy to supply a readme that outlines supported platforms and the supported JDK. Read it.If you still can't figure it out, come back.

  • How to filter attachments with *.exe, *.bat, *.scr

    I want to configure channel level filtering in ims 5.2
    to remove all attachments with *.exe, *.scr and *.bat
    How will i do it ?

    If you're trying to discard/delete the attachments outright, you could
    use the following conversion channel entries,
    out-channel=*; in-type=*;
            in-type=application; in-subtype=*;
            in-parameter-name-0=NAME; in-parameter-value-0=*.bat;
            out-type=text; out-subtype=plain; out-mode=text; out-encoding=none;
            delete=1
    out-channel=*; in-type=*;
            in-type=application; in-subtype=*;
            in-parameter-name-0=NAME; in-parameter-value-0=*.exe;
            out-type=text; out-subtype=plain; out-mode=text; out-encoding=none;
            delete=1
    out-channel=*; in-type=*;
            in-type=application; in-subtype=*;
            in-parameter-name-0=NAME; in-parameter-value-0=*.scr;
            out-type=text; out-subtype=plain; out-mode=text; out-encoding=none;
            delete=1In this case, the message will still be passed thru, but the
    attachment will be deleted. This is actually a pretty nice safety
    net given the number of viruses coming in these days.
    Hope this helps.

  • How we can display two list if not using blocked alv ,not scr painter

    how we can display two list if not using blocked alv ,not scr painter

    1. Once the cell number/service on the 3GS is transfered to the 5, the 3S will become basically an iPod touch until a new sim is in place, correct? We can still use wi-fi and the apps on the phone, and still be able to sync to iTunes, correct? iOS has been upgraded to 6.
    1a. With a new Sim, any issue with losing any data/apps on the phone? I dont' think so.
    1. Yes. without a sim it has no service, but all other features should be useable normally.
    1.a Nope, Data and Apps are independent of the Sim.
    2. Once the 5 is activated on the new carrier, how do I share the apps within iTunes? Is it as easy as using iCloud (which we haven't "activated" yet) and/or plugging both phones into iTunes and transferring between devices (authorizing both)? Photos? There are photos on the 3S that we will need on the 5.
    2. As long as both Phones use the same Apple ID, the applications can be synced to each through iTunes. Also any downloads on one phone should appear in the other. Again as long as both phones are using the same Apple ID.
    3. Reverse order for new apps purchased (understand that not all the iphone 5 apps will work on the 3GS)?
    3. If they can be run on the iPhone3GS they should be synced automatically.
    4. My husband also has a new iPad, any complications there with three devices? To date, he has not "shared" apps between his 3S and the iPad. He does not have iCloud set up, but plugs into his computer to backup and transfer photos. 
    4. If all 3 Devices share the same Apple ID all should be synced. 
    As a word of warning, if all 3 devices use the same Apple ID, messages recieved using iMessage will appear on all 3 devices.
    And Conctacts may get overwritten if synced to iCloud (thogh you say he doesn't have one), or merged together.

  • How to install .scr file as screensaver

    A friend made a screensaver for me in .scr format. Does anyone know how to make one of these things work on a PPC Mac? I tried putting it in the Library--Screensavers file, but it didn't show up in the list after I opened the Systems Preferences window.
    Thanks.

    Screen savers the end in ".scr" are for Windows systems only. You cannot run this on a Mac.

  • Help requested: How to pass the (check box) selected rows data to other scr

    Hi friends, Here is a situation where I have to pick only those records data which i select by checking the check boxes and carry on to next screen where I have to display them and do some processing on such selected rows of data. Can any one suggest me how to code this. Thanks in advance.

    Hi Subbarao,
    One way is to check if the field is selected by checking if the field value = 'X'.
    If it is a table control we will have to loop and find out which all records are selected..it is notable that the check box field will mostly be of single character and contain 'X' if it is checked and space if not checked
    Based on the structure where the check box is held we may have to implement various logic to retrieve whether the field is checked or not....for instance we can move data to another internal table for which the checkbox is checked and can retrieve it from the next screen
    Pls check,revert and reward if helpful
    Regards
    Byju

  • Report writer/Report painter - How to define the range on the selection scr

    Hi,
    I want to use one field "Fiscal year for CG breakdown" in my customized report in which user can select the year in range ie FROM - to - TO range.
    Can anybode tell me how do we define the range in the selection screen?
    I have tried using the General data selection.. but its not working.
    Edited by: Seema Nakhale on Oct 7, 2008 11:13 AM

    Hi,
    Create a variable for the Fiscal Year field in tcode GS11. While creating the variable for the field, use the option "Value Entry Only".
    Thereafter refer the variable in the "General Data Selection" for the field with the options "Set" and "Variable" both ticked for the fiscal year. Also enter the variable name created above in the field in General Data Selection.
    This will allow you to enter the fiscal year as range while executing the report.
    Regards,
    Ramanand

  • How to set variant which gives date range of last month for sel.scr field

    Hi All,
    I want to set a variant which can do dynamic date calculation, need get last month period i.e when i select a variant it should always pick last month start date & end date for the period selection field. How can i achieve that. Please help me to know that.
    Thanks in advance.
    Regards
    Vishal

    I think in the date selection you can put in the calculations last month start date and end date, did you see what options you are getting in the variant? I am not in front of the system, so can't see.
    <b>I just looked up and found that you can specify the first and last day of the last month in the variant dynamic value setting.</b> When you saving the variant, select the check box for the SELECTION VARIABLE and then click the dynamic value calculation second traffic light. Then you will get drop down where you can select the values.
    Regards,
    Ravi
    Note : Please mark all the helpful answers
    Message was edited by: Ravikumar Allampallam

  • How to grey out Allication tool bar button of PF-status for a selection-scr

    Hi All,
    I have an urgent requirement to grey out(not to exclude) an application tool bar button in normal selection-screen PF-STATUS.
    Please let me know if any one has done something like this before.

    Hi,
    This code[mentioned in the suggested link] will deactivate the button.
    DATA itab TYPE TABLE OF sy-ucomm.
    PARAMETERS test(10) TYPE c.
    AT SELECTION-SCREEN OUTPUT.
      APPEND:
               'PRIN' TO itab,
              'SPOS' TO itab.
      CALL FUNCTION 'RS_SET_SELSCREEN_STATUS'
           EXPORTING
                p_status  = sy-pfkey
           TABLES
                p_exclude = itab.
    You can deactivate Print and Save button.

Maybe you are looking for