Is the Java Card Platform supports the unnamed package?

1.agree
Virtual Machine Specification for the Java Card� Platform, Version 2.2.1 chapter 2.2.2.1:
"packages in the Java Card platform are used exactly the way they are in the Java platform."
That means the Java Card platform also have two type package,named package and unnamed package.
2.against
Development Kit User�s Guide for the Java Card Platform, Version 2.2.1 chapter Running the Converter:
"Command line usage of the Converter is:
converter [ options] <package_name> < package_aid> < major_version>.
< minor_version>"
The above formula tells us that the <package_name> is a MUST Line Arguments of converter.But if we create a unnamed package,how should we express it?
3.against
first,How a real JCVM intall/organize the unnamed packages?
second,In a real JCVM run-time environment,all java items(include attribute,method and soon) refered by the suit of package+class+item.In this condition,the item in a nunamed package cannot offers the package and is never refered.
I have been botherd by the above 3 boresome and opposite points for some time and cannot give out the key of the question.
Can some one give me some ideas?
thx!

Sun's kit is free. There is a reference implementation of the JC Runtime environment with the kit.
You of course can't load that onto a card. And even if you had the RE, you won't be able to load onto a card because the RE is burned into the ROM which you don't have low level access to.
Read the JCRE specs that come with the kit

Similar Messages

  • What is Client-Side API for RMI on the Java Card Platform

    What is Client-Side API for RMI on the Java Card Platform ?
    And what is host software ?

    Your post is weird: you seem not to agree with yourself O_o
    OF COURSE sim cards have CPUs, otherwise how would you run an OS or a java vm on them?
    to drive the wifi there will be a proprietary api, just like mifare access on normal cards.
    the OS should manage the wiki stack in C/asm and expose javacard entry points. only "should" because this is only a press release.

  • Where can I buy Java Card and get the JCOP?

    I have searched this forums to find out where I can buy Java Card and get the JCOP, but most links are disconnected and information is incorrect.
    Recently, if someone purchase small amount of the Java Card and get the JCOP, please share your information with me.
    I contacted the Gemalto, but they only sell big amount of Java Card to customers and I also contacted the usasmartcard.com several times via e-mail, phone and fax but they did not answer for my call. it seems they closed their business.
    I really want the information where I can buy small amount of Java Cards and get the JCOP.
    I will appreciate your reply.
    Thanks

    I searched through google and found the following shops:
    http://www.motechno.com/ibm-java-card-jcop.0.html?gclid=CK_IrtOfkY8CFRF_TAodazMRFg
    http://www.smartcardgroup.com/shop.php
    http://www.smartcardsource.com/
    Regarding the JCOP Tools you should contact NXP. Searching this forum will also help you.

  • Which cards do support java card platform (vm) 3.0 in the market now

    hello everyone, i search some website today for shopping card that support the platform, but there is no card.
    does any one know which card support it?

    If it is about the classic cards: I know that Giesecke and Devrient also supports v 3.0.1 in their smart c@fe expert cards. I am not sure if they sell to end-customers though, so it may depend on who you are/how many cards you want. I would link, but not sure if this is accepted here. Just check the strong authentication section in the product section on their website:
    http://www.gi-de.com/en/products_and_solutions/products/strong_authentication/Smart-Cards-f%C3%BCr-die-starke-Authentisierung-5824.jsp
    For connected cards: I think no time in the near future.
    Edited by: mdorner on 20.02.2013 12:57
    Edited by: mdorner on 20.02.2013 12:59

  • Running the Java Card 2.1.2 Development on win98

    Hi,
    I just installed the Java Card(TM) Development Kit Version 2.1.2 on my windows 98 OS with jdk 1.3.1.
    I set all the Environment Variables for Windows.
    I also compiled the demos, but I'm unable to run the apdutool. I get a "Bad command or file name".
    I read in the readme file that one of the Supported Platforms is Windows NT 4.0 , but it doesn't say windows 98, can this be my problem ? do I have to reinstall my computer with window NT to develop a java card applet ? can I use windows 2000 ?

    Hello.No, there is no need to test this toolkit under Windows 2000.It supposed that this packages is working under Windows 98.
    I think the problem is that you did not set right the PATH and CLASSPATH of the JC 2.1.2 in the autoexec.Try the followings(see if it is working):
    ///PATH
    set PATH=c:\jc212\bin;%PATH%
    if the jc212 is the directory that you installed this package.
    ///CLASSPATH
    set CLASSPATH=%CLASSPATH%;C:\jc212\lib\api21.jar
    set CLASSPATH=%CLASSPATH%;c:\jc212\lib\converter.jar
    If you still have problems try to add te following line in the autoexec.bat
    set CLASSPATH=%CLASSPATH%;c:\jc212\samples
    I think this will help you.

  • JCVM are the java card operating system?

    in some articles I read teh following:
    JCVM acts like an operating system. the implementation of JCVM =java card operating system?
    in some articles I read: the Java Card Operating system are JCVM, APIs,JCRE, native Methos, and another classes.
    help me please. thanks.

    The problem can be explained this way.OS and natvie function is the lowest level of the articture,which play the role of os like Windows,JCVM
    is higher,its function is platform indepent,JCRE,or javacard Framework,is the platform for the application,Industry Add-on Classes is the interface supplied by others,for instance,the javacard is used as SIM card,the class is the Sim interface,javacard applet is the applet user developed.
    Apis play the role of package,for example,Throwable � class,it is the parent class of all the exceptions.

  • How to Install .CAP file in the Java Card?

    Hi Friends..
    How to install *.CAP* file in the Java Card?..
    I've GPShell script as follows :
    mode_211
    enable_trace
    establish_context
    card_connect -readerNumber 2
    open_sc -security 1 -keyind 0 -keyver 0 -mac_key 404142434445464748494a4b4c4d4e4f -enc_key 404142434445464748494a4b4c4d4e4f
    install_for_load -pkgAID a00000006203010c01 -nvCodeLimit 500  -sdAID A000000003000000
    load -file HelloWorld.cap
    card_disconnect
    release_contextwith that script i can load HelloWorld.cap file successfully..
    Now, how to install the HelloWorld.cap file?..
    if i add script : load -file HelloWorld.cap i got this error :
    install -file HelloWorld.cap
    file name HelloWorld.cap
    Command --> 80E602001B09A00000006203010C0107A00000015100000006EF04C60201A80000
    Wrapped command --> 84E602002309A00000006203010C0107A00000015100000006EF04C60201
    A80030C859793049B85300
    Response <-- 6985
    install_for_load() returns 0x80206985 (6985: Command not allowed - Conditions of
    use not satisfied.)i ask this question because when i tried to select the applet through its AID, by this script :
    establish_context
    card_connect -readerNumber 2
    select -AID a00000006203010c0101i got this message error : select_application() returns 0x80216A82 (6A82: The application to be selected could not be found.)
    but there's exactly any that AID in my Java Card..
    here's is the list of AID from My Java Card :
    C:\GPShell-1.4.2>GPShell listgp211.txt
    mode_211
    enable_trace
    establish_context
    card_connect -readerNumber 3
    * reader name OMNIKEY CardMan 5x21-CL 0
    select -AID a000000003000000
    Command --> 00A4040008A000000003000000
    Wrapped command --> 00A4040008A000000003000000
    Response <-- 6F108408A000000003000000A5049F6501FF9000
    open_sc -security 1 -keyind 0 -keyver 0 -mac_key 404142434445464748494a4b4c4d4e4
    f -enc_key 404142434445464748494a4b4c4d4e4f // Open secure channel
    Command --> 80CA006600
    Wrapped command --> 80CA006600
    Response <-- 664C734A06072A864886FC6B01600C060A2A864886FC6B02020101630906072A864
    886FC6B03640B06092A864886FC6B040215650B06092B8510864864020102660C060A2B060104012
    A026E01029000
    Command --> 8050000008AAF7A87C6013BC0300
    Wrapped command --> 8050000008AAF7A87C6013BC0300
    Response <-- 0000715457173C2A8FC1FF0200937A55C288805D8F2A04CCD43FA7E69000
    Command --> 848201001023CA18742D36165ED992CFF2146C3D51
    Wrapped command --> 848201001023CA18742D36165ED992CFF2146C3D51
    Response <-- 9000
    get_status -element 10
    Command --> 80F21000024F0000
    Wrapped command --> 84F210000A4F004FF8BE1492F7275400
    Response <-- 0CF0544C00004D4F44554C415201000009A00000006203010C010100010AA000000
    06203010C01019000
    GP211_get_status() returned 2 items
    List of Ex. Load File (AID state Ex. Module AIDs)
    f0544c00004d4f44554c4152        1
    a00000006203010c01      1
            a00000006203010c0101
    card_disconnect
    release_contextPlease help me..
    And please correct me if i'm wrong,,
    Thanks in advance..

    Any suggestions for my question?..
    Please help me..
    Thanks in advance..

  • Step by step approach to develope the java card application

    Do anybody know how to develope a smart card application using java card.i have downloaded java card kit,but the documentation provided by the sun is bit complex to use.
    so please anybody know how to proceed?
    It would be appreciated if i am given a step by step approach to develope a smart card application using java card.

    Do anybody know how to develope a smart card
    application using java card.i have downloaded java
    card kit,but the documentation provided by the sun is
    bit complex to use.
    so please anybody know how to proceed?I would suggest to read these articles
    http://developers.sun.com/techtopics/mobility/javacard/articles/
    Jan

  • How does the Java Card simulator work? (Using NetBeans)

    Hi,
    I'm using NetBeans and am trying to simulate:
    Someone powering up the card, saving a value, and powering down... And then they power it up again, get the value, and power down.
    When I edit my APDU script to do the second part, the value I entered the first time is never stored, which probably means that when I 'run' my code, my application is loaded and everything is initialized again.
    How do I edit NetBeans to not install the application every time I hit 'run'? And not to initialize the values, so that when i power it up again, I can get a value stored in a previous running of a script?
    When I use powerup, powerdown and then powerup again, NetBeans doesn't powerup the simulator the second time. So understanding the Java Card Simulator would also help... where it is, how it runs, what options it runs with, etc.

    Hi Shane,
    I have not read anywhere else that the JC3 cards are not available, thank you so much for that tip! I am not doing it for research, but I am working on this alone and will have to deploy a card later on. I will be getting all the right versions now.
    I'll ask the question then, using just the JCDK:
    If I want to save a value on the card, and then need it at a later time, how do I go about it. Do I do the following?
    (1) Install the application on the card. (I know how to do this)
    (2) Run the simulator using -o "eeprom data filename"
    (3) Save the value using the APDU calls and Java code on the card + close connection.
    Code:
    public class MyApp extends Applet {
        private static byte[] data = {0x00, 0x00, 0x00};
        // Install method, method to register, process method that can call saveData or recallData, etc
        public static void saveData()
           // code to change data
           data = {0x01, 0x01, 0x01};
        public static byte[] recallData()
           // code to return data
           return data;
    }(4) Run the simulator using -i "eeprom data filename". get the value using recallData().
    Will selecting the app not make data initialize to {0x00, 0x00, 0x00} again?
    If I know this is the correct way of going about it, then I can work towards it getting done.
    From other examples I can see that this is probably the way it should work, but my data array always returns as {0x00, 0x00, 0x00}.

  • "the SIM card inserted in the iPhone does not appear to be support" help?

    Just doing this for my sister since she's has not been able to do so. From what she said, after she tried to update her iPhone 3G with the latest update, it came up with a message saying "the SIM card inserted in the iPhone does not appear to be supported." She also said that she tried to go through her phone but something came up where there was the itunes logo and the USB cord pointing toward it. We have tried going to the AT&T and Apple store but they just keep insisting that she purchases the new iphone. Because of that I am sure that they could fix our problem but they just want to sell the latest toy. Now, I've been searching through google and it keeps telling me to download some programs that will jailbreak it but I don't really trust downloading things off of the internet (unless I know they're safe). So, is there any way I can fix this problem? - Thanks

    You seem to have a carrier-locked iPhone. Only the operator can help you unlock it. You need to contact them for instructions.

  • Is the Fujitsu-Solaris platform supported (ALL PRODUCTS)?

    Is the Fujitsu-Solaris platform supported for Netscape/iPlanet products?
    <P>
    Quality assurance (QA) tests Netscape and iPlanet products (Solaris versions)
    on Sun SPARC systems with the Solaris operating system from Sun Microsystems.
    This setup is the reference platform.
    <P>
    If you run Netscape or iPlanet products on a SPARC/Solaris compatible system
    (assuming the system is 100% compatible), the product should perform as
    described. However, if you discover a compatibility problem on such a system,
    Netscape/iPlanet Technical Support typically attempts to reproduce the defect
    on the reference SPARC/Solaris platform. Then, if they find that the problem
    exists on the reference platform, they will forward the defect on to
    engineering for resolution.

    Yes
    We have plan to buy and use Aardvark OEM I2C Host Adapter and use it with LabView2013.
    I am searching if this device already has LabView VI's for I2C communication.
    I am not sure If we can use the VI's for Aardvark I2C/SPI Host Adapter to Aardvark OEM I2C Host Adapter.
    Before we decide  to buy Aardvark OEM I2C Host Adapter we just want to make sure that we can use it.
    Best Thanks.
    Jessie

  • 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

  • Why Applet in the Java Card?

    I'm studying the Java Card and GP. I have one question which just hit my head.
    Why did the Java Card choose Applets? There are applications, servlets, and so on which can be developed using Java technology.
    Does anyone know?
    Thanks,
    Julie.

    No, Java Card applets run on the card. What runs off the card can be ANY language because that's what called middleware. It sits in the middle of the OS and the CAD. PCSC is a middleware. It's written in C. Java Cards don't know anything about an OS or middleware because all communications is to a CAD.
    As far as client side Java, that can be a Java Application, or a Java Applet for browsers.

  • NetBeans java card platform

    Dear All,
    I need a java card simulator to debug my java card applet code.
    I try to use Java Card Platform on NetBeans IDE 7.1 for debugging purpose. After successfully building the applet and loading it onto the simulated card environment I try to select the applet instance using the following command through the Console.
    select //aid/3F564379F5/00279CD982
    in response I receive the following error.
    "Connection reset by peer: socket write error"
    Is anyone using Java Card Platform for debugging? I would be very happy to hear how to resolve this problem.
    Thanks in advance!
    Cheers!
    Mehmet

    Mehmet wrote:
    Hello Rohit,
    If you download the Java Card Development Kit (http://www.oracle.com/technetwork/java/javasebusiness/downloads/java-archive-downloads-javame-419430.html#java_card_kit-2.2.1-oth-JPR)
    you will have a set of sample java card applets to use.
    You can use JPShell to download the cap files(compiled applet) onto the card and send ADPU to the card to see if you get correct response.
    Following link provides all the information to set up the environment and start developing java card applets using NetBeans IDE and GPShell.
    https://minotaur.fi.muni.cz:8443/~xsvenda/docuwiki/doku.php?id=public:smartcard:javacardcompilation
    I hope this can help.
    MehmetI already have , Netbeans 7.1 and now i have gpshell 1.4.4 ,i think netbeans is capable to making .cap file, did you mean that with use of gpshell i can connect with java card through reader? gp shell would work stand alone or we need to set this to netbeans? i read the link which u passed to me, it seems very good but "it seems very tough to implement" . HELL IS WAITING FOR ME... KIDDING DEAR,
    one last thing, anything other than net beans { here we create applet and it automatically create cap file} and gp shell are require to load applet onto the card? OR these is enough to implement wholo java card application- I asked this because i get the term JCOP and etc when i read uploading applet to card.
    anyways thanks for your help.

  • How to run VI without the DAQ card connected to the labtop

    This may be a silly question but I want to have the answer and couldn't find the answer for spending time in searching in the web.
    I want to run the VI that controls the intruments in my labtop. The VI was run in a destop that has a DAQ card in the PC (a PCI card).  I know it is possible to run it without errors (without a DAQ card) in my labtop . Anyone knows how to do it? I used labview 7.1. Thanks,
    Jun

    If you are using DAQmx and if the DAQ card is supported, you can add a simulated device in MAX.

Maybe you are looking for

  • Lumia 830 - Wifi 5gz problems

    Hey, I recently got a new router (Draytek 2120) wich supports 5gz. And since 2,4 is crowded i switched. All of my devices are working properly except my lumia830. The phone can connect to the ssid, but when i do a speedtest it switches to my mobile d

  • Connecting Printer via HP JetDirect 300x

    I've been using an HP JetDirect 300x to connect my HP Laserjet 6MP to the network. We had a 4 day power outage and now I need to reconnect it. I reset the print server to its defaults and the IP address now reads 10.0.1.12. I want to change that to a

  • Creating a 3d shape-rectangle having x,y,z coords

    I wish to create a simple rectanlge 3dimensional with the knowledge of x,y,z coordinates . Can this be happen?Where can i find relative source or examples on how to do that ? Thanks.

  • Iphoto to imovie to idvd should work right?

    After importing my photos and little AVI movies from my Canon digital camera to iphoto, I decided to make a slightly cooler DVD by adding more transitions, chapter titles, video and sound effects. So I imported them into imovie. Everything looked gre

  • XML grid gallery not loading full images(except for one)

    hi, I just created my first flash website, but one of my XML image galleries is not working properly. I am using the same (code, layout, just different pics and xml files) gallery on 4 of my pages, however, one("products")  of the 4 will not load the