How to create an instance (or instances) of the java card applet?

Here I have a backend, a host application (a terminal)
and a Java card that needs to be instanced to multiple cards to different users.
I wonder how you can make instances of Java card applets of different IDs or PINs.

933351 wrote:
Yes, I would like to emulate an environment first, Unfortunately I cannot help with this (never really used this tool).
I'd like to know also how to install them later on real cards.You need something that can perform the secure channel and card content management functions of the GlobalPlatform card specification. A good starting point is GPShell. It provides a simple scripting interface to be able to:
1) Authenticate with a card with developer keys
2) Load you cap file(s)
3) Instantiate any instances you require (you can have multiple instances from a single applet)
4) Send arbitrary APDU's to the card for testing.
GPShell has a README text file that is a good reference and there are sample scripts for a number of card types.
- Shane

Similar Messages

  • How to create an instance of the database

    No that won't work. I have to set it up independant from each other because I can't get to Uni until Monday and I want to have this done over the weekend really.
    The main issue seems to be now how to create an instance of the database

    To create a database:
    you first connect as internal (user) with the passeword 'oracle'
    the syntax is: connect internal/oracle
    You type in this script:
    STARTUP NOMOUNT PFILE=$PFILE
    CREATE DATABASE db01
    LOGFILE
    GROUP 1 ('c/oracle/oradata/db01/redo_01a.log',
    'c/oracle/oradata/db01/redo_01b.log'
    ) size 100k,
    GROUP 2 ('c/oracle/oradata/db01/redo_02a.log',
    'c/oracle/oradata/db01/redo_02b.log'
    ) size 100k
    MAXLOGFILES 32
    MAXLOGMEMBERS 2
    MAXLOGHISTORY 1
    DATAFILE 'c/oracle/oradata/db01/system01.dbf'
    size 7M
    MAXDATAFILES 254
    MAXINSTANCES 1;
    This script could be modified to reflect the features you want for your database.
    db01 = the name you can give to your database
    Good luck,
    Henri

  • Unable to create an instance of the Java Virtual Machine

    I hope someone can help me to encounter this problem. Well, I have read the instruction over and over on how to setup SQL Developer. 
    The version i have installed Oracle Database 11g Express Edition and downloaded sqldeveloper-4.0.0.13.80-no-jre and the jdk version 1.7.0_45. Problem is when setup oracle sql developer, pop-up screen highlight on
    Unable to create an instance of the Java Virtual Machine
    Located at path : C:\Program Files/Java/jdk1.7.0_45\jre\bin\client\jvm.dlll.
    I have select the path earlier stage and direct to the C:\Program Files/Java/jdk1.7.0_45 ONLY FOLDER. It turns out to this error.
    At the cmd screen error message as below :
    Error occurred during initialization of VM
    Could Not reserve enough space for object heap
    Anyone do give me advise on how to solve this issue. Thank's alot.

    What I did was:
    Use
    Windows Explorer to browse to C:\Users\user\AppData\Roaming\sqldeveloper\1.0.0.0.0Open
    product.conf with wordpad
    Go
    to the bottom of the file
    Uncomment
    the 32 bit entry and change it to:Add32VMOption -Xmx512m

  • Unable o create an instance of the java virtual machine Located at path

    I am installing oracle sql developer on Windows XP SP2
    I have downloaded sqldeveloper-3.1.07.42 and extracted it.
    when i double click sqldeveloper it shows dialog box
    Unable o create an instance of the java virtual machine Located at path
    ..\..\jdk\jre\bin\client\jvm.dll
    and OK button
    i have tried a solution posted on a site
    1- Open the ide.conf file located under <Oracle SQL Developer>jdev\bin\
    2- Edit :
    AddVMOption -Xmx1024M
    AddVMOption -Xmx256M or 512 MB change into 512 instead of 1024
    it does not work for me
    What is the cause & how to resolve it please help
    I would be thankful to you guys

    Hi,
    I've got the exact same problem when launching to JDeveloper.
    And I've searched on internet for days.
    I did try to modify the number of
    MaxPermSize in jdev.conf
    and
    Xmx and Xms in ide.conf
    I've tried several combinations, and sometimes it works.
    The disappoint fact is that even with the same combination of the settings, sometimes it works and sometimes it doesn't.
    Sometimes it just work. Sometimes it doesn't...and after rebooting it works again......Sometimes even rebooting doesn't help.......Sometimes when change MaxPermSize to a smaller number it works...and next time it may not work again....Sometimes you change the MaxPermSize to some other number, save, and then change it back,,,,and it works again...but next time you try to use it, it may not work..........
    I don't know what leads to these problems.....anyone could help? Thanks in advance....

  • JDeveloper: Unable to create an instance of the Java Virtual Machine

    Hi,
    I've got this
    Unable to create an instance of the Java Virtual Machine Located in path: C:\u01\app\Oracle\Middleware\JDev11g\jdk160_21\jre\bin\client\jvm.dll
    problem like many people else who use JDeveloper.
    The OS is Windows XP, I've got 4G memory but maybe just 3G of it works.
    But this is not the problem, because I've searched this problem on internet for days.
    I did try to modify the number of
    MaxPermSize in jdev.conf
    and
    Xmx and Xms in ide.conf
    I've tried several combinations, and sometimes it works.
    The disappoint fact is that even with the same combination of the settings, sometimes it works and sometimes it doesn't.
    Sometimes it just work....
    Sometimes it just doesn't work....
    Sometimes it doesn't...and after rebooting it works again......
    Sometimes even rebooting doesn't help.......
    Sometimes when change MaxPermSize to a smaller number it works...and next time it may not work again....
    Sometimes you change the MaxPermSize to some other number, save, and then change it back,,,,and it works again.....
    but next time you try to use it, it may not work..........again....
    I don't know what leads to these problems.....anyone could help, please?
    Thanks in advance....

    having mentioned that you have tried all possible options. can u try to change the jdk??

  • How to create a instance for the method

    it is showing me dump error for the call method
    data: i_tab type /SCMB/DM_ORDER_TAB,
          grid1  TYPE REF TO /SCA/CL_SVORDER .
    CALL METHOD grid1->READ_BY_IDS
      EXPORTING
       IS_CTRL      =
        IV_ORTYPE    = gt_po_detl-ortype
       IV_LOCKFLG   = /SCMB/CL_C_ORDER=>GC_FALSE
       IV_NOADDRESS = /SCMB/CL_C_ORDER=>GC_FALSE
       IV_MAPID     = /SCMB/CL_C_ORDER=>GC_FALSE
       IV_DUEQUAN   = /SCMB/CL_C_ORDER=>GC_FALSE
        IT_ORDERID   = itab_orderid
      IMPORTING
        ET_ORDERS    = i_tab
       ET_PROT      =
    u r attempting to use a null object reference access a component (variable 'GRID!")
    an object reference must point to an object (an instance of  a class ) before it can be used to acess a component either the reference was never set or it was set to null using the clear statement

    sridhar loganathan,
    A ABAP Class is just a definition of fields/variables called attributes and routines (like in standard ABAP forms and functions) called methods. Also you can have events, don't care about before necessary.
    The definition itself is just a blueprint. Nothing exists, nothing can be used before you create an instance for this definition.
    DATA: grid1 TYPE REF TO /SCA/CL_SVORDER creates a 'handler' for ( to be created) instances of the class.
    The statement CREATE OBJECT grid1 creates an instance of the class as defined in the 'blueprint' and assigns the reference to this instance (with all methods, attributes and events) to reference field grid1.
    In 999 of 1000 cases SAP creates just one object of a class. In those cases the definition of classes and uses of object oriented programming is more or less obsolete.
    Anyway: Just keep in mind that you can not uses attributes and methods of the class directly (blueprint!) but only of the instance created.
    An Exception to be noted are so-called Static attributes and methods where an instance is not required. Example ABAP_CHAR_UTILITIES=>HORIZONTAL_TAB gives the character for horizontal tab regardless of platform and char encoding (unicode!). Class ABAP_CHAR_UTILITIES defines static attribute HORIZONTAL_TAB - no instances necessary because this will never change in a given system.
    Hope this sheds some light on it
    Regards,
    Clemens

  • How to create new instance of the process from external web apps?

    Hi Everyone,
    How to create a new instance of the process which deploy to the weblogic server from the external web app?
    Thank you.

    Assuming the process includes a message start event, the simplest way is to use Web Service call. Once you've deployed the process you can use Enterprise Manager to get the URL of the WSDL. There's and icon at the top of the composite summary page for getting the WSDL, or you can get it from the test page. Use that WSDL URL to construct the client to use from the web app. If it's an ADF client you can generate either an ADF Data Control or a client proxy.

  • Unable to create an instance of the Java Virtual Machine error

    After extraction of SQLDeveloper files ran sqldeveloper.exe, received an error "Unable to create an istance of the Java Virtual Machine Located at path: C:\sqldeveloper\jdk\jre\bin\client\jvm.dll".
    CMD WARNING from bin/sqldeveloper.exe: "Uknown directive: SetSkipJ2SDKCheck
    Error occured during initialization of VM
    Could not reserve enough space for object heap"
    I'd appreciate any help.
    THANKS!!

    I have the same problem.
    But it seems that the problem occurs after windows update :
    Test case :
    1. extract SQLDeveloper.
    OK
    2. install IE7
    OK
    3. install update for IE7 + restart
    (Cumulative Security Update for Internet Explorer 7 for Windows XP (KB939653)
    and Security Update for Internet Explorer 7 for Windows XP (KB938127) )
    KO with error message
    "Unable to create an istance of the Java Virtual Machine Located at path: C:\sqldeveloper\jdk\jre\bin\client\jvm.dll".
    It seems that the problem occurs after installation of
    Cumulative Security Update for Internet Explorer 7 for Windows XP (KB939653)
    Here the détails about update :
    Cumulative Security Update for Internet Explorer 7 for Windows XP (KB939653)
    Size: 2,0 MB - 8,3 MB
    Security issues have been identified that could allow an attacker to compromise a system running Internet Explorer and gain control over it. You can help protect your system by installing this update from Microsoft. After you install this item, you may have to restart your computer.
    More information for this update can be found at http://go.microsoft.com/fwlink/?LinkId=95045
    Security Update for Internet Explorer 7 for Windows XP (KB938127)
    Size: 213 KB - 780 KB
    A security issue has been identified in the way Vector Markup Language (VML) is handled that could allow an attacker to compromise a computer running Microsoft Windows and gain control over it. You can help protect your computer by installing this update from Microsoft. After you install this item, you may have to restart your computer.
    More information for this update can be found at http://go.microsoft.com/fwlink/?LinkId=94737
    An idea to install IE7 update and continue to works with SQLDeveloper?
    Thanks
    Regards,
    Eric

  • JDev 12c: Unable to create an instance of the Java Virtual Machine

    Hi!
    I have installed JDev 12c on windows7 64 bit and try to start it the first time and get this error.
    The path inside the message point to <myHome>\oracle_common\jdk\jre\bin\client\jvm.dll.
    There is installed a jre, whichs version is:
    <myHome>\oracle_common\jdk\jre\bin>java -version
    java version "1.7.0_15"
    Java(TM) SE Runtime Environment (build 1.7.0_15-b33)
    Java HotSpot(TM) Client VM (build 23.7-b01, mixed mode)
    In the calling batch script I see following output:
    Error occured during initialization of VM
    Could not reserve enougs space for object heap
    Anybody has the same problem?
    Kind regards
    Torsten

    Thanks Frank - i missed that a 64bit installer exist as the first installer does shows only windows installer and not 32bit installer!
    One last question:
    After the start remains the calling command window additional to the JDeveloper window, is this the wanted behavior? As this use the same icon in the task bar this leads to wrong switch to this windows instead of the JDeveloper window.
    The calling command window shows only this information:
    Jul 15, 2013 10:48:20 AM oracle.ide.osgi.boot.LauncherUtil throttleLocale
    INFO: Locale de_DE is not supported by this product. Forcing locale to en_US.
    But when I close it the JDeveloper window is closed too.

  • How to create multiple instance on same database

    Hi ,
    I would like to know how to create multiple instance on same database . I know that some people use database configuration assistant to do this but i could not figure out how they did it.
    Any how if some one can help me with this and can give me links of this it would be great help for me.
    Thank you for reading my problem and helping me !
    Amil
    please if possible mail me on [email protected]

    How to create multiple instance?????Do you mean multiple instances on the same database, or multiple databases on the same machine ?
    I m new to this field....
    Willin to learn a lot about oracle....Then it wouldn't be bad reading a bit of Database Concepts

  • How to create an instance of midlet with in a midlet

    Hi all,
    I have 5 midlets in the same project (midlet suite). I need one of the midlets (login midlet) to start and when login is verified i want to display list of the remaining midlets which can be launched as per user's chioce.
    My query is, how can i create an instance of the other midlet within the login midlet after login is verified.
    Any response is highly appreciated.
    Birhanu

    You can't do that! You don;t need all those midlets anyway if you only have one application. You'll just have to put the needed code in a non Midlet class.

  • How to create an instance of a protected class outside the enclosing packag

    Hi all,
    I have a piece of code like this:
    package test;
    public class A {
    protected class B { }
    How to create an instance of B outside the package test ? Could you please give me an example ?
    Thanks
    Ha Chau

    Thank WirajR for your reply, but in your solution,
    you have to create an instance of B inside class A
    and pass it outside. I would like to know whetherwe
    can create an instance of class B outside thepackage
    test. That means I want the instance creation
    expression of B appears outside the package test.Can
    we do that?
    If you want to use a class this way then it shouldn't
    be marked protected. I can't see why you don't
    just declare it public if that's what it is.
    Wouldn't be much point to haveing a protected
    modifier if it had no effect, would there?I think there is use for it if you use an interface to filter out the parts you want to give public access to, and keep the part you want to keep protected, protected

  • How to create an instance for RemoteSession without using create() method

    How to create an instance for RemoteSession without using create() method?

    What's RemoteSession? Not in the JDK. And does the question have anything to do with concurrency?

  • How to create an instance of a class?

    how do you create sn instance of a class, and how do you call a method from another class?

    You may need to read thru the information provided on this page to understand how to create objects: http://java.sun.com/docs/books/tutorial/java/data/objectcreation.html
    I'd also suggest you read the tutorial available at: http://java.sun.com/docs/books/tutorial/java/index.html
    Regarding how you call a method belonging to another class you could do it in the foll. ways depending on whether the method is static or not - a static method may be called using the class name followed by a dot and the static method name while a non-static method would require you to create an instance of the class and then use that instance name followed by a dot and the method name. All said and done i'd still suggest you read thru the complete Java programming tutorial to get a good grounding on all these concepts and fundamentals of the language if you are looking to master the technology.
    Thanks
    John Morrison

  • What is an Instance in application server and how to create an Instance?

    Hi All,
    What is an Instance in application server and how to create an Instance? What is the procedure to get file path from an Instance?
    What is the significance of Instance in ABAP?

    hi
    good
    go through these links,this will gives you complee idea about the creating instances in application serverl.
    http://www.erpgenie.com/sap/basis/
    http://www.sapdevelopment.co.uk/file/file_disall.htm
    thanks
    mrutyun^

Maybe you are looking for