Eclipse-jcop project building { create .cap file } problem??????????????

hello all,
I am using jcop tool plugin with eclipse and my atr is:-
--Opening terminal
/card -a a000000003000000 -c com.ibm.jc.CardManager--Waiting for card...
ATR=3B E9 00 00 81 31 FE 45 4A 43 4F 50 34 31 56 32    ;....1.EJCOP41V2
    32 A7                                              2.everything is fine with sample applet { it contain a empty process () or gives 90 00 for select applet apdu }
I am using eclipse ide and jcop plugin, basically my problem is to building project when any changes occoured, initially when i start a new project with steps like:-
1- java card project
2-java applet
3-package id
4-applet id
5-basic template of applet
N- finish
ok
then when screen open, at the left side i saw cap file propery window ,and automatically there are cap file in bin folder.
It means jcop tool used converter to make .cap file, but when i add some lines according to my requirment,
I am unable to build it again or unable to get a new cap file. May be i need to set some build path , but first time it automatically build so it also indicate that there are no need to set the build path. I am confused in this area.
Is i need to reference the path of converter.jar { jcdk 2.2.1 }? or jcop plugin also have the required jar for converting .class to .cap , inside it. how i rebuild it and make a new fresh .cap file.
some jar file which i paste in plugin folder of eclipse are:-
com.ibm.bluez.jcop.eclipse.demopack_1.0.2.jar
com.ibm.bluez.jcop.eclipse.perftest_1.0.2.jar
com.ibm.bluez.jcop.eclipse.signlite_1.0.2.jar
com.ibm.bluez.jcop.eclipse.targetpack.gemplus_1.0.0.jar
com.ibm.bluez.jcop.eclipse.targetpack_1.0.3.3.jar
com.ibm.bluez.jcop.eclipse_1.0.3.3.jar
com.ibm.bluez.jcop.eclipse_3.1.1.a.jarbefore i was using JCDE plugin for simulation process but here i did not use JCDE, I have only eclipse + jcop plugin
I tried to tell you, what is my problem, If you still have any doubt , Let me know.
Waiting for your reply and thanks for your time ............

Thanks Umer for your suggestion , but i dont need to do this, It was my silly mistake to handle the things properly.
Initially i was unable to getting the eclipse and JCOP concept, but now i do. now I am able to build the project or eclipse is building it automatically !!!! I faced this problem b'se i am a newbie in java card. but now things going good to me.
I want to share my getting here:--
My dout was - Is jcop intially have all the Jar's , converter which is required to create a cap file????
My ans is - Yes, EVERYTHING IT HAVE INSIDE.
you just get eclipse ide and get jcop plugin, and paste jcop plugin jar's inside the plugin folder of ecipse and START ECLIPS AGAIN.
NOW EVERYTHING IS SET FOR YOU,
NO REQUIREMENT OF JCDE-java card development envoirnment
no requirement of jcdk- java card development kit ,
no requirement of set any build path in eclipse. just make your applet , and run with jcop tool.ECIPSE AUTOMATICALLY BUILD OPTION WILL CREATE A FRESH .CAP FILE WHENEVER U MADE A NEW CHANGES
cheers!!!

Similar Messages

  • Why my JCOP do not create CAPs for my java card application?

    I am using Eclipse 3.3.1.1 and JCOP tools3.1.2.
    When I create Java card application or applet, it doesn't create cap files for me automatically. Why?
    I used JCOP before, it always created new CAP files replacing the older ones when I saved the source code.
    Does the version of Eclipse conflict with that of JCOP?
    By the way I am using JDK 1.6 for my default lib.
    Thanks!

    Well it works. I tested it with your version.
    - Check out if your project has the JCOP nature.
    - Check via the Navigator view if the javacard folder is created, including the .exp and .cap file (you need to refresh the last folder)
    - Check if your Eclipse project setting have automatic build enabled, otherwise you need to trigger the build automatically
    - Try to refresh, clean and rebuild the project

  • Error while creating cap file

    while creating Cap file through converter , error is coming Class helloworld does not belong to this package while giving the same package path where it is existing physically. i m using javacard version 2.2.1 and J2SE 1.4

    Hi Joseph
    Thanks and accept my regards. Now I am able to create the .cap file. but I am facing another problem. I am developing a sim application but I am not able to find the sim.toolkit libraries. Can you plz guide me, where i would find the libraries.

  • How to create CAP file based on a J2ME project ?

    Hi all,
    Recently I need to install a midlet application into the sim card with an applet loader.
    And it requires a java card cap file.
    I already installed:
    1> JAVA Card Kit 2.2.2
    2> JDK 1.6.0_01
    3> J2ME Wireless Toolkit 2.2
    4> Eclipse 3.2
    But I don't know how to generate a cap file from the Eclipse J2ME midlet project.
    Any tips?
    Thank you in advance.

    You cannot install a midlet on a sim card. If it's a Java Card, the format is defined to .cap file. Check out the Java Card VM specification for details. For .cap file creation/installation you can use Sun's Java Card development kit.
    http://java.sun.com/products/javacard/dev_kit.html

  • Create CAPI definition problem with Headstart 6i / Designer  6i rel. 4.3

    During migration from hsd50/des60 to hsd65/des6i rel 4.3 of an application using CDM ruleframe: according to the migration guide, one step is "Upgrading Existing CDM RuleFrame objects", which includes running the Create CAPI definition (Headstart utility). After that step we assume de created CAPI's should be generated together with the Table API. But executing the CAPI-scripts results in errormessages. After comparing the 60 and 6i versions, we found a bug, probably caused by the Headstart utility: In the package body, after the header of the first function of the Business Rule Check Functions, suddenly the declaration section of the package is again inserted, and after that the first function is again defined followed by the rest, causing also a missing end statement at the end of the package.
    Is this known, and if so, is there a fix available?
    Regards, Paul.

    Paul,
    We have found the cause for your other problem (the repeating of the declaration section).
    With 6.5 a new package property Private Declaration was introduced in Designer.
    This property should officially be used instead of PL/SQL block to specify package body declaration
    (assuming you define all package procedures and functions in separate PL/SQL Definitions).
    However, at first the migration from an earlier version of Designer did not pose any problems
    because of Designer bug 1470283. That's why you won't find anything about this in the Headstart Migration Guide.
    Now that Designer bug is fixed, migrating a CAPI causes part of the PL/SQL Block to be moved to the Private Declaration.
    If you then generate the CAPI package to the database, it works fine, but when you run the CAPI utility again,
    it inserts the package declarations again in the PL/SQL Block (leaving the Private Declaration in tact).
    That's when you get duplicate package declarations. We logged this as Headstart bug 2527128.
    You already found a workaround: deleting the CAPI and generating it again. Another workaround is
    moving the Private Declaration to the top of the PL/SQL Block (this allows you to keep your existing
    Revision History).
    Hope this helps,
    Sandra

  • SQLPLUS spool to create .dat files - problems

    I am using spool from sqlplus to generate
    .dat files for sqlldr. The problem is with
    numeric fields. I have SET numwidth, numformat to no avail. The fields defined with specific numeric size number(n) always get spooled with a longer column size.
    Also, the COLSEP character does not appear
    after all columns. Any ideas out there ?
    (I realize export/import is an easier solution )

    Try using TO_CHAR, LPAD, SUBSTR and other character functions to achieve the same. Also, if you have not SET HEAD OFF, then do that, or use alias for the formatted columns in case you need headings.

  • Build the output file problem

    Hi,
    good day guys
    we dev the interface for stock information for mmi interface. For build output file. we coded as below as. but i need to build the out put file with Alias. how to do it?plz let me know
    FORM build_output_filename .
      CLEAR outfile.
    *This directory must be changed to make use of ALIAS FTP_DIR, as       *
    *the directory name is different between Dev, QA and Prod              *
      CONCATENATE 'D:/FTP/MMI/MMISTOCK/BABZAPART'       "here out put file
                   sy-datum sy-timlo
                   '.txt'
              INTO outfile.
    ENDFORM.
    Edited by: balaji kiran on Apr 12, 2010 2:33 PM

    hi balaji ,
    to connect to FTP there are some FM , which you can use....
    CALL FUNCTION 'FTP_CONNECT'
      EXPORTING
        user                   =
        password               =
      ACCOUNT                =
        host                   =
        rfc_destination        =
      GATEWAY_USER           =
      GATEWAY_PASSWORD       =
      GATEWAY_HOST           =
    IMPORTING
      HANDLE                 =
    EXCEPTIONS
      NOT_CONNECTED          = 1
      OTHERS                 = 2
    IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    to connect from FTP.
    now put your file from sap server to the destination machine.
    and pass to the fm FTP command list
    CALL FUNCTION 'FTP_COMMAND_LIST'
                                   EXPORTING
                                     handle              =
                                 IMPORTING
                                   COMMAND_INDEX       =
                                   tables
                                     data                =
                                     commands            =
                                 EXCEPTIONS
                                   TCPIP_ERROR         = 1
                                   COMMAND_ERROR       = 2
                                   DATA_ERROR          = 3
                                   OTHERS              = 4
                                 IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
                                 ENDIF.
    finally call fm FTP disconnect to disconnect the FTP.
    hope this help.
    take  help of where used of these FM and use accordingly.
    CALL FUNCTION 'FTP_DISCONNECT'
                             EXPORTING
                               handle        =
    hope this helps,
    thanks
    tanmaya

  • Created executable file problem

    Hi everyone
    I'm using NXT toolkit with my Labview 2010. Now I'm trying to built the executable file from my VI. My VI is pretty simple consists of 1 motor and 1 Knob as controller. I used the usb for the connection between pc and NXT brick. I attached the VI and the exe file below. 
    However, after successful built, the executable file seems like doesn't connect to the NXT motor. I mean even I move the Knob, there are nothing changes in the motor. 
    I found this link http://digital.ni.com/public.nsf/allkb/522DF60F5531EA02862574F60074525A . In my case, however, I'm using USB instead of bluetooth and actually, I can't find the NXTToolkit.BluetoothLibraryReferences.vi in my pc. Therefore, I don't know how solve this hard problem.
    Please help me to overcome this problem. 
    Thank you so much.
    Mina
    ---Let it works---
    Attachments:
    nxttest.vi ‏8 KB
    My Application.zip ‏568 KB

    Thank you so much for your comment
    That is the good sound for me while the NXT direct I/O is supported. I'm trying to use the motor unlimited in NXT Direct I/O. Howerver, I'm not familiar with using that. Therefore, my VI couldn't connect with the motor.
    I attached the VI below. Please help me consider it and indicate the problem.
    Please let me know if any clarification is needed of my issue.
    Thank you so much and looking forward to hearing from you
    Best regards
    Mina
    ---Let it works---
    Attachments:
    nxttest.vi ‏15 KB

  • Android reader and Paperport 12 created PDF files problem

    i am having a problem with Android reader and documents created with nuance Paperport 12. The documents are a uniform 380k and contain a scanned monochrome image. The problem is as follows - When I open the document the page displays correctly but is way too small to be read on the device. The device is a Sony Ericsson Xperia X10 mini running Android 2.1 update 1. I have duplicated the problem exactly on a Sony Ericsson Xperia X10 mini pro.
    What happens is when you zoom in on the document the page goes blank. There are no restrictions or security options on the document and the metadata shows nuance Paperport 12 as the creator. I can zoom in on the document on any other device other than the android handsets.

    i am having a problem with Android reader and documents created with nuance Paperport 12. The documents are a uniform 380k and contain a scanned monochrome image. The problem is as follows - When I open the document the page displays correctly but is way too small to be read on the device. The device is a Sony Ericsson Xperia X10 mini running Android 2.1 update 1. I have duplicated the problem exactly on a Sony Ericsson Xperia X10 mini pro.
    What happens is when you zoom in on the document the page goes blank. There are no restrictions or security options on the document and the metadata shows nuance Paperport 12 as the creator. I can zoom in on the document on any other device other than the android handsets.

  • Hi ! When Creating  Cap file

    Hi !
    I am compiling javacard source
    but this error
    why error ?
    Command is
    Conveter -config HelloWorld.opt
    Error
    Warning :Method <init> in class HelloWorld.HelloWorld contain local variables, but not local variable table.
    Warning :Method install in class HelloWorld.HelloWorld contain local variables, but not local variable table.
    Warning :Method process in class HelloWorld.HelloWorld contain local variables, but not local variable table.
    erroer:export file framework.exp of package javacard.framework not found.

    First recompile using the -g option ( javac -g .....)
    Second, make sure your HelloWorld.opt contains the entry: -exportpath <javacardpath>\api21_export_files

  • CR 2008 dependence files cannot be found during the web setup project build

    Hi,
    Please anyone who knows why dependence files cannot be found?
    CR 2008 dependence files cannot be found during the web setup project build. Nevertheless, this problem did not prevent the project from being installed on the server but I need to know why it couldn't be found? while I'm having the latest service packs installed on my development machine (SP0, SP1, SP-Fix 1, 2, 3 and 4 including ClickOnce and Merge Modules).
    The warning messages that I'm getting during the web setup project build.
    Build started: Project: VMAComponentsLibrary, Configuration: Debug Any CPU
    Starting pre-build validation for project 'VMASetup'
    WARNING: Unable to find module dependency with signature 'MFCLOC.74FD3CE6_2A8D_0E9C_FF1F_C8B3B9A1E18E'
    WARNING: Unable to find module dependency with signature 'ATL.Policy.66332652_9C28_58B1_FF1F_C8B3B9A1E18E'
    WARNING: Unable to find module dependency with signature 'OpenMP.Policy.04B9F3B6_9645_7658_FF1F_C8B3B9A1E18E'
    WARNING: Unable to find module dependency with signature 'MFCLOC.Policy.D2730D3F_3C41_5884_FF1F_C8B3B9A1E18E'
    WARNING: Unable to find module dependency with signature 'ATL.97F81AF1_0E47_DC99_FF1F_C8B3B9A1E18E'
    WARNING: Unable to find module dependency with signature 'CRT.Policy.63E949F6_03BC_5C40_FF1F_C8B3B9A1E18E'
    WARNING: Unable to find module dependency with signature 'MFC.Policy.68B7C6D9_1DF2_54C1_FF1F_C8B3B9A1E18E'
    WARNING: Unable to find module dependency with signature 'MFC.9BAE13A2_E7AF_D6C3_FF1F_C8B3B9A1E18E'
    WARNING: Unable to find module dependency with signature 'CRT.98CB24AD_52FB_DB5F_FF1F_C8B3B9A1E18E'
    WARNING: Unable to find module dependency with signature 'OpenMP.1E507087_0819_45E0_FF1F_C8B3B9A1E18E'
    Pre-build validation for project 'VMASetup' completed
    Thank you.

    Hi,
    CR 2008 for VS has a merge module that will be copied to the C:\Program Files\Common Files\Merge Modules for example (CRRuntime_12_1.msm, CRRuntime_12_1_da.msm, CRRuntime_12_1_de.msm, u2026).
    According to CR documentation in order to deploy a project which uses a crystal reports we have to including one or more of these files in the setup project (Merge Modules).
    As I understand these files can help the setup project to know which dependence files are needed for the application to be deployed successfully with CR.
    You mentioned
    (The merge modules for Crystal Reports 2008 SP1 are dependent on the C++ library files from 2005 SP1.) I understood the above message.
    But what did you mean by this? What are the merge modules that you are mentioning hear?
    (I know this isn't what you want to hear but the merge modules just aren't available any other way. Microsoft doesn't have them available for download, and we are not permitted to make them available.)
    Thanks.
    Edited by: Sami Aljafer on Jun 15, 2009 9:37 PM

  • JCOP and CAP file components

    Hi,
    I'm trying to reproduce the APDU install (for load) and load (CAP file) commands the JCOP shell executes when you run an applet whith JCOP 3.1.
    I noticed that the JCOP shell executes as many load commands as the CAP file size requires since the max datafield size of an APDU command is 255 bytes. But when I add the size of of the commands, I get 793 bytes when the CAP file size is 4695 bytes.
    I found in the JavaCard JCVM specification, which describes the CAP file format that a CAP file is divided in several CAP files. So It seems to me that JCOP parse the "global" CAP file and only load parts of it in the emulated card.
    The question is, which "little" CAP files are required to load the applet correctly and how could you know how the CAP file is actually structured in order to parse it correctly ?

    Hi,
    the CAP-File is a special and very complex format and the result of the JCOP build process for a package (all applets of this package).
    Loading an applet from a CAP-File via the JCShell "upload" command consists of 2 steps:
    - first: send the upload initialization command
    - second: send the code for this applet in (n) max. 255-byte blocks
    Every code block has 6 leading command bytes.
    The byte stream to send to the card or emulation depends on some requirements like header, code, debug-info, description...
    So it cannot have the same size like your CAP-file!!

  • Plz, help me~! not upload  cap file.

    I am new to the javacard technology.
    I have implementing an applet by using eclipse 3.1 + JCOP plug-in.
    And I set my project to build against JC211.
    The created cap-file I'm trying to upload works fine when used with a simulated card.
    But, When i try to upload it to my cards(G&D smartcare expert 3.1) I get the following error.
    upload "F:\02. 2006\05. 10\10.17\\HelloWorld\bin\HelloWorld\javacard\HelloWorld.cap"
    jcshell: Cannot read <F:\02. 2006\05. 10\10.17\\HelloWorld\bin\HelloWorld\javacard\HelloWorld.cap>: java.util.zip.ZipException
    ??> install -i d4106509900010 -q C9#() d410650990 d4106509900010
    => 80 E6 0C 00 1C 05 D4 10 65 09 90 07 D4 10 65 09 ........e.....e.
    90 00 10 07 D4 10 65 09 90 00 10 01 00 02 C9 00 ......e.........
    00 00 ..
    (121415 usec)
    <= 6A 80 j.
    Status: Wrong data
    jcshell: Error code: 6a80 (Wrong data)
    jcshell: Wrong response APDU: 6A80
    Unexpected error; aborting execution
    Has anyone seen this error before?
    Anyone help me, plz!!
    plz! plz! plz! plz! plz! Help me~~~!

    Make sure you are using the right java card library version (JavaCard and OpenCard version).
    Most cards only support jc2.1.2 - in opposite of the emulator which was designed for jc2.2.1.
    Jan

  • Error in convertionof .class to CAP file

    we are using java_card_kit-2_2_1 with j2sdk-1.4.2_12 for developing Applet for Smart card.We are new to the javacard enviornment.We are testng with the avvailable samples in java card kit.
    The steps we are following is given below:
    1.Convertion of java file to class file.
    Class file generated in the path- c:\java_card_kit-2_2_1\samples\src\com\sun\javacard\samples\Helloworld
    2. convertion of class file to Cap file:
    we are using one batch file -run.bat
    run.bat:
    set CLASSES=%JCHOME%\lib\apduio.jar;...;%JC_HOME%\lib\api.jar;%JC_HOME%\lib\capdump.jar;
    xcopy /s %JC_HOME%\api_export_files\*.* exp
    java -classpath %_CLASSES% samples.src.com.sun.javacard.samples
    converter -config HelloWorld.opt
    3.We are running the run.bat file when exp folder is created having the .exp files init.
    4.Then we are using the converter as:
    converter -config ...HelloWorld.opt.
    the .opt file contains..
    -out EXP JCA CAP
    -exportpath C:\java_card_kit-2_2_1\api_export_files
    -applet 0xa0:0x0:0x0:0x0:0x62:0x3:0x1:0xc:0x1:0x1
    com.sun.javacard.samples.HelloWorld.HelloWorld
    com.sun.javacard.samples.HelloWorld
    0xa0:0x0:0x0:0x0:0x62:0x3:0x1:0xc:0x1 1.0
    Then the error is generated as:
    error:export file framework.exp of package javacard.framework not found.
    the above run.bat file the line below needs explanation..
    java -classpath %_CLASSES% samples.src.com.sun.javacard.samples
    converter -config HelloWorld.opt
    plz reply
    Message was edited by:
    jit_hk

    converting .class files to a loadable format for the smart card creates .cap file and .exp files. the .exp files specify information about any (shared) libraries.
    i dunno how exactly to do it with the java card kit from sun. look into the jcop converter tric.jar .

  • Captivate 8 : the PDF export created a file with a PDF extension.. but it's actually a video. Shouldn't it export the slides as a proper PDF document ?

    In Adobe Captivate, there is a "PDF export" checkbox available when you publish your project.
    It checked the box, and the project pulication created a file with a PDF extension.. but it's actually a video. Shouldn't it export the slides as a proper PDF document ?

    Thanks for the quick answer. I did not know about interactive PDFs..
    I just found how to export as a Word document. I would have expected to find that option in "Publish" or "Export", not "Print".. Anyway, I now have what I needed

Maybe you are looking for

  • Dynamic Column Heading on Interactive Report

    I have my column headings for my table columns stored in the database. I want the Interactive Report to use these heading (instead of static headings). Is there a way to have the columns set from the database(with a function/procedure)?

  • Conversion from VS2005 to VS2010

    I have a Web Application that was originally done in VS2005.  I have converted it to VS2010 and the Crystal Report Viewer etc conversion is successful.  The appliction works in development and on my test web server.  However; each time I open the app

  • Missing "p" key

    yesterday we bought a black macbook for a friend. she's a mac newbie and very happy with this beautiful laptop. however, something strange has happened: - pressing the "p" key doesn't give you a lowercase "p" on the screen, no matter what app you're

  • Network Costing in PS by period

    Is it possible to plan network activities in specific periods based on the specific dates which are input as per Workforce Planning to override the Basic Start and Finish dates on the Activity? For example, A network activity has a start date on Oct

  • Problem accessing DB from Custom RoleMapper

    I've built a custom implementation of the RoleMapper class, and everything works fine except for one thing... when the server is booted, I must first access the WL console in order for the RoleMapper to be called, else the WL server crashes back to a