Eclipse javacard – [scriptgen] Missing hash for required component: header.cap












0















I am trying to run a sample applet
(OracleJava Card Development Kit 3.0.5u3samplesreference_appsBiometryClient)
in Java Card Development Kit 3.0.5u3.



I am using Eclipse 4.10.0. When I run the build.xml file, I get the error:



Missing hash for required component: header.cap


when the scriptgen tries to generate the script to load the cap file.



Here is my console:



[verifycap] Java Card Ant Tasks, Version 1.0
[verifycap] Copyright (c) 1998, 2018, Oracle and/or its affiliates. All rights reserved.
[verifycap] janv. 11, 2019 2:42:02 PM
[verifycap] INFOS: [v3.0.5] Off-Card Verifier, Version {1}.
[verifycap] janv. 11, 2019 2:42:02 PM
[verifycap] INFOS: Copyright (c) 1998, 2018, Oracle and/or its affiliates. All rights reserved.
[verifycap]
[verifycap]
[verifycap] janv. 11, 2019 2:42:02 PM
[verifycap] INFOS: V�rification du fichier CAP ./build/applet.cap
[verifycap] janv. 11, 2019 2:42:02 PM
[verifycap] INFOS: Hash pour com/sun/jcclassic/samples/biometryclient/javacard/Applet.cap [SHA-256: abcde0f3b7fb51bdf6f7df4d93ac07f073caacd53897b3e2d5edeb3b4d619526]
[verifycap] janv. 11, 2019 2:42:02 PM
[verifycap] INFOS: Hash pour com/sun/jcclassic/samples/biometryclient/javacard/Class.cap [SHA-256: 42af6484f5ba0798ca0c699504ac5fb4679a4b1bcefd3cacb082022a4f6dbb80]
[verifycap] janv. 11, 2019 2:42:02 PM
[verifycap] INFOS: Hash pour com/sun/jcclassic/samples/biometryclient/javacard/ConstantPool.cap [SHA-256: 9d84eeb39833ce997fbdca8b06b8a1d7cf8ed19c03202c599b0baa256cd78df8]
[verifycap] janv. 11, 2019 2:42:02 PM
[verifycap] INFOS: Hash pour com/sun/jcclassic/samples/biometryclient/javacard/Import.cap [SHA-256: bf40cd9a4ac02ea1b1ab58623700e41cc66b4c2e49d5e52ef63b439772a7bc40]
[verifycap] janv. 11, 2019 2:42:02 PM
[verifycap] INFOS: Hash pour com/sun/jcclassic/samples/biometryclient/javacard/Directory.cap [SHA-256: ff8e58d90f289b1a95acac8f3de44613a442334122bad4aa0acc52520f360cff]
[verifycap] janv. 11, 2019 2:42:02 PM
[verifycap] INFOS: Hash pour com/sun/jcclassic/samples/biometryclient/javacard/StaticField.cap [SHA-256: f3a6cffe12b756946de47550fc231a8abccf3a475de5c830edc87242b7dc45cb]
[verifycap] janv. 11, 2019 2:42:02 PM
[verifycap] INFOS: Hash pour com/sun/jcclassic/samples/biometryclient/javacard/Descriptor.cap [SHA-256: 24f0e92a42f697ae24248326003eaaed248eb3705e01d9803daabee64cc52eb9]
[verifycap] janv. 11, 2019 2:42:03 PM
[verifycap] INFOS: Hash pour com/sun/jcclassic/samples/biometryclient/javacard/RefLocation.cap [SHA-256: c85022a8cb2c88233a0a1fa35396d716fffce698cacbeff5e8d30d15f7a3bef2]
[verifycap] janv. 11, 2019 2:42:03 PM
[verifycap] INFOS: Hash pour com/sun/jcclassic/samples/biometryclient/javacard/Header.cap [SHA-256: fa0af2f045094754f7f49b96b387a7e9382e227a366c21077ea8a8a242d5532a]
[verifycap] janv. 11, 2019 2:42:03 PM
[verifycap] INFOS: Hash pour com/sun/jcclassic/samples/biometryclient/javacard/Method.cap [SHA-256: 3e08abec1108937a9f76a53f54216596b32edfb7f70c7379b53cd56a0e5d7073]
[verifycap] janv. 11, 2019 2:42:03 PM
[verifycap] INFOS: La v�rification est termin�e, 0 avertissements et 0 erreurs.
generate_script:
[scriptgen] Java Card Ant Tasks, Version 1.0
[scriptgen] Copyright (c) 1998, 2018, Oracle and/or its affiliates. All rights reserved.
[scriptgen] ScriptGen [v3.0.5]
[scriptgen] Copyright (c) 1998, 2018, Oracle and/or its affiliates. All rights reserved.
[scriptgen]
[scriptgen]
[scriptgen] Missing hash for required component: header.cap
init:
compile_applet:
convert_applet:
[convert] Java Card Ant Tasks, Version 1.0
[convert] Copyright (c) 1998, 2018, Oracle and/or its affiliates. All rights reserved.









share|improve this question





























    0















    I am trying to run a sample applet
    (OracleJava Card Development Kit 3.0.5u3samplesreference_appsBiometryClient)
    in Java Card Development Kit 3.0.5u3.



    I am using Eclipse 4.10.0. When I run the build.xml file, I get the error:



    Missing hash for required component: header.cap


    when the scriptgen tries to generate the script to load the cap file.



    Here is my console:



    [verifycap] Java Card Ant Tasks, Version 1.0
    [verifycap] Copyright (c) 1998, 2018, Oracle and/or its affiliates. All rights reserved.
    [verifycap] janv. 11, 2019 2:42:02 PM
    [verifycap] INFOS: [v3.0.5] Off-Card Verifier, Version {1}.
    [verifycap] janv. 11, 2019 2:42:02 PM
    [verifycap] INFOS: Copyright (c) 1998, 2018, Oracle and/or its affiliates. All rights reserved.
    [verifycap]
    [verifycap]
    [verifycap] janv. 11, 2019 2:42:02 PM
    [verifycap] INFOS: V�rification du fichier CAP ./build/applet.cap
    [verifycap] janv. 11, 2019 2:42:02 PM
    [verifycap] INFOS: Hash pour com/sun/jcclassic/samples/biometryclient/javacard/Applet.cap [SHA-256: abcde0f3b7fb51bdf6f7df4d93ac07f073caacd53897b3e2d5edeb3b4d619526]
    [verifycap] janv. 11, 2019 2:42:02 PM
    [verifycap] INFOS: Hash pour com/sun/jcclassic/samples/biometryclient/javacard/Class.cap [SHA-256: 42af6484f5ba0798ca0c699504ac5fb4679a4b1bcefd3cacb082022a4f6dbb80]
    [verifycap] janv. 11, 2019 2:42:02 PM
    [verifycap] INFOS: Hash pour com/sun/jcclassic/samples/biometryclient/javacard/ConstantPool.cap [SHA-256: 9d84eeb39833ce997fbdca8b06b8a1d7cf8ed19c03202c599b0baa256cd78df8]
    [verifycap] janv. 11, 2019 2:42:02 PM
    [verifycap] INFOS: Hash pour com/sun/jcclassic/samples/biometryclient/javacard/Import.cap [SHA-256: bf40cd9a4ac02ea1b1ab58623700e41cc66b4c2e49d5e52ef63b439772a7bc40]
    [verifycap] janv. 11, 2019 2:42:02 PM
    [verifycap] INFOS: Hash pour com/sun/jcclassic/samples/biometryclient/javacard/Directory.cap [SHA-256: ff8e58d90f289b1a95acac8f3de44613a442334122bad4aa0acc52520f360cff]
    [verifycap] janv. 11, 2019 2:42:02 PM
    [verifycap] INFOS: Hash pour com/sun/jcclassic/samples/biometryclient/javacard/StaticField.cap [SHA-256: f3a6cffe12b756946de47550fc231a8abccf3a475de5c830edc87242b7dc45cb]
    [verifycap] janv. 11, 2019 2:42:02 PM
    [verifycap] INFOS: Hash pour com/sun/jcclassic/samples/biometryclient/javacard/Descriptor.cap [SHA-256: 24f0e92a42f697ae24248326003eaaed248eb3705e01d9803daabee64cc52eb9]
    [verifycap] janv. 11, 2019 2:42:03 PM
    [verifycap] INFOS: Hash pour com/sun/jcclassic/samples/biometryclient/javacard/RefLocation.cap [SHA-256: c85022a8cb2c88233a0a1fa35396d716fffce698cacbeff5e8d30d15f7a3bef2]
    [verifycap] janv. 11, 2019 2:42:03 PM
    [verifycap] INFOS: Hash pour com/sun/jcclassic/samples/biometryclient/javacard/Header.cap [SHA-256: fa0af2f045094754f7f49b96b387a7e9382e227a366c21077ea8a8a242d5532a]
    [verifycap] janv. 11, 2019 2:42:03 PM
    [verifycap] INFOS: Hash pour com/sun/jcclassic/samples/biometryclient/javacard/Method.cap [SHA-256: 3e08abec1108937a9f76a53f54216596b32edfb7f70c7379b53cd56a0e5d7073]
    [verifycap] janv. 11, 2019 2:42:03 PM
    [verifycap] INFOS: La v�rification est termin�e, 0 avertissements et 0 erreurs.
    generate_script:
    [scriptgen] Java Card Ant Tasks, Version 1.0
    [scriptgen] Copyright (c) 1998, 2018, Oracle and/or its affiliates. All rights reserved.
    [scriptgen] ScriptGen [v3.0.5]
    [scriptgen] Copyright (c) 1998, 2018, Oracle and/or its affiliates. All rights reserved.
    [scriptgen]
    [scriptgen]
    [scriptgen] Missing hash for required component: header.cap
    init:
    compile_applet:
    convert_applet:
    [convert] Java Card Ant Tasks, Version 1.0
    [convert] Copyright (c) 1998, 2018, Oracle and/or its affiliates. All rights reserved.









    share|improve this question



























      0












      0








      0








      I am trying to run a sample applet
      (OracleJava Card Development Kit 3.0.5u3samplesreference_appsBiometryClient)
      in Java Card Development Kit 3.0.5u3.



      I am using Eclipse 4.10.0. When I run the build.xml file, I get the error:



      Missing hash for required component: header.cap


      when the scriptgen tries to generate the script to load the cap file.



      Here is my console:



      [verifycap] Java Card Ant Tasks, Version 1.0
      [verifycap] Copyright (c) 1998, 2018, Oracle and/or its affiliates. All rights reserved.
      [verifycap] janv. 11, 2019 2:42:02 PM
      [verifycap] INFOS: [v3.0.5] Off-Card Verifier, Version {1}.
      [verifycap] janv. 11, 2019 2:42:02 PM
      [verifycap] INFOS: Copyright (c) 1998, 2018, Oracle and/or its affiliates. All rights reserved.
      [verifycap]
      [verifycap]
      [verifycap] janv. 11, 2019 2:42:02 PM
      [verifycap] INFOS: V�rification du fichier CAP ./build/applet.cap
      [verifycap] janv. 11, 2019 2:42:02 PM
      [verifycap] INFOS: Hash pour com/sun/jcclassic/samples/biometryclient/javacard/Applet.cap [SHA-256: abcde0f3b7fb51bdf6f7df4d93ac07f073caacd53897b3e2d5edeb3b4d619526]
      [verifycap] janv. 11, 2019 2:42:02 PM
      [verifycap] INFOS: Hash pour com/sun/jcclassic/samples/biometryclient/javacard/Class.cap [SHA-256: 42af6484f5ba0798ca0c699504ac5fb4679a4b1bcefd3cacb082022a4f6dbb80]
      [verifycap] janv. 11, 2019 2:42:02 PM
      [verifycap] INFOS: Hash pour com/sun/jcclassic/samples/biometryclient/javacard/ConstantPool.cap [SHA-256: 9d84eeb39833ce997fbdca8b06b8a1d7cf8ed19c03202c599b0baa256cd78df8]
      [verifycap] janv. 11, 2019 2:42:02 PM
      [verifycap] INFOS: Hash pour com/sun/jcclassic/samples/biometryclient/javacard/Import.cap [SHA-256: bf40cd9a4ac02ea1b1ab58623700e41cc66b4c2e49d5e52ef63b439772a7bc40]
      [verifycap] janv. 11, 2019 2:42:02 PM
      [verifycap] INFOS: Hash pour com/sun/jcclassic/samples/biometryclient/javacard/Directory.cap [SHA-256: ff8e58d90f289b1a95acac8f3de44613a442334122bad4aa0acc52520f360cff]
      [verifycap] janv. 11, 2019 2:42:02 PM
      [verifycap] INFOS: Hash pour com/sun/jcclassic/samples/biometryclient/javacard/StaticField.cap [SHA-256: f3a6cffe12b756946de47550fc231a8abccf3a475de5c830edc87242b7dc45cb]
      [verifycap] janv. 11, 2019 2:42:02 PM
      [verifycap] INFOS: Hash pour com/sun/jcclassic/samples/biometryclient/javacard/Descriptor.cap [SHA-256: 24f0e92a42f697ae24248326003eaaed248eb3705e01d9803daabee64cc52eb9]
      [verifycap] janv. 11, 2019 2:42:03 PM
      [verifycap] INFOS: Hash pour com/sun/jcclassic/samples/biometryclient/javacard/RefLocation.cap [SHA-256: c85022a8cb2c88233a0a1fa35396d716fffce698cacbeff5e8d30d15f7a3bef2]
      [verifycap] janv. 11, 2019 2:42:03 PM
      [verifycap] INFOS: Hash pour com/sun/jcclassic/samples/biometryclient/javacard/Header.cap [SHA-256: fa0af2f045094754f7f49b96b387a7e9382e227a366c21077ea8a8a242d5532a]
      [verifycap] janv. 11, 2019 2:42:03 PM
      [verifycap] INFOS: Hash pour com/sun/jcclassic/samples/biometryclient/javacard/Method.cap [SHA-256: 3e08abec1108937a9f76a53f54216596b32edfb7f70c7379b53cd56a0e5d7073]
      [verifycap] janv. 11, 2019 2:42:03 PM
      [verifycap] INFOS: La v�rification est termin�e, 0 avertissements et 0 erreurs.
      generate_script:
      [scriptgen] Java Card Ant Tasks, Version 1.0
      [scriptgen] Copyright (c) 1998, 2018, Oracle and/or its affiliates. All rights reserved.
      [scriptgen] ScriptGen [v3.0.5]
      [scriptgen] Copyright (c) 1998, 2018, Oracle and/or its affiliates. All rights reserved.
      [scriptgen]
      [scriptgen]
      [scriptgen] Missing hash for required component: header.cap
      init:
      compile_applet:
      convert_applet:
      [convert] Java Card Ant Tasks, Version 1.0
      [convert] Copyright (c) 1998, 2018, Oracle and/or its affiliates. All rights reserved.









      share|improve this question
















      I am trying to run a sample applet
      (OracleJava Card Development Kit 3.0.5u3samplesreference_appsBiometryClient)
      in Java Card Development Kit 3.0.5u3.



      I am using Eclipse 4.10.0. When I run the build.xml file, I get the error:



      Missing hash for required component: header.cap


      when the scriptgen tries to generate the script to load the cap file.



      Here is my console:



      [verifycap] Java Card Ant Tasks, Version 1.0
      [verifycap] Copyright (c) 1998, 2018, Oracle and/or its affiliates. All rights reserved.
      [verifycap] janv. 11, 2019 2:42:02 PM
      [verifycap] INFOS: [v3.0.5] Off-Card Verifier, Version {1}.
      [verifycap] janv. 11, 2019 2:42:02 PM
      [verifycap] INFOS: Copyright (c) 1998, 2018, Oracle and/or its affiliates. All rights reserved.
      [verifycap]
      [verifycap]
      [verifycap] janv. 11, 2019 2:42:02 PM
      [verifycap] INFOS: V�rification du fichier CAP ./build/applet.cap
      [verifycap] janv. 11, 2019 2:42:02 PM
      [verifycap] INFOS: Hash pour com/sun/jcclassic/samples/biometryclient/javacard/Applet.cap [SHA-256: abcde0f3b7fb51bdf6f7df4d93ac07f073caacd53897b3e2d5edeb3b4d619526]
      [verifycap] janv. 11, 2019 2:42:02 PM
      [verifycap] INFOS: Hash pour com/sun/jcclassic/samples/biometryclient/javacard/Class.cap [SHA-256: 42af6484f5ba0798ca0c699504ac5fb4679a4b1bcefd3cacb082022a4f6dbb80]
      [verifycap] janv. 11, 2019 2:42:02 PM
      [verifycap] INFOS: Hash pour com/sun/jcclassic/samples/biometryclient/javacard/ConstantPool.cap [SHA-256: 9d84eeb39833ce997fbdca8b06b8a1d7cf8ed19c03202c599b0baa256cd78df8]
      [verifycap] janv. 11, 2019 2:42:02 PM
      [verifycap] INFOS: Hash pour com/sun/jcclassic/samples/biometryclient/javacard/Import.cap [SHA-256: bf40cd9a4ac02ea1b1ab58623700e41cc66b4c2e49d5e52ef63b439772a7bc40]
      [verifycap] janv. 11, 2019 2:42:02 PM
      [verifycap] INFOS: Hash pour com/sun/jcclassic/samples/biometryclient/javacard/Directory.cap [SHA-256: ff8e58d90f289b1a95acac8f3de44613a442334122bad4aa0acc52520f360cff]
      [verifycap] janv. 11, 2019 2:42:02 PM
      [verifycap] INFOS: Hash pour com/sun/jcclassic/samples/biometryclient/javacard/StaticField.cap [SHA-256: f3a6cffe12b756946de47550fc231a8abccf3a475de5c830edc87242b7dc45cb]
      [verifycap] janv. 11, 2019 2:42:02 PM
      [verifycap] INFOS: Hash pour com/sun/jcclassic/samples/biometryclient/javacard/Descriptor.cap [SHA-256: 24f0e92a42f697ae24248326003eaaed248eb3705e01d9803daabee64cc52eb9]
      [verifycap] janv. 11, 2019 2:42:03 PM
      [verifycap] INFOS: Hash pour com/sun/jcclassic/samples/biometryclient/javacard/RefLocation.cap [SHA-256: c85022a8cb2c88233a0a1fa35396d716fffce698cacbeff5e8d30d15f7a3bef2]
      [verifycap] janv. 11, 2019 2:42:03 PM
      [verifycap] INFOS: Hash pour com/sun/jcclassic/samples/biometryclient/javacard/Header.cap [SHA-256: fa0af2f045094754f7f49b96b387a7e9382e227a366c21077ea8a8a242d5532a]
      [verifycap] janv. 11, 2019 2:42:03 PM
      [verifycap] INFOS: Hash pour com/sun/jcclassic/samples/biometryclient/javacard/Method.cap [SHA-256: 3e08abec1108937a9f76a53f54216596b32edfb7f70c7379b53cd56a0e5d7073]
      [verifycap] janv. 11, 2019 2:42:03 PM
      [verifycap] INFOS: La v�rification est termin�e, 0 avertissements et 0 erreurs.
      generate_script:
      [scriptgen] Java Card Ant Tasks, Version 1.0
      [scriptgen] Copyright (c) 1998, 2018, Oracle and/or its affiliates. All rights reserved.
      [scriptgen] ScriptGen [v3.0.5]
      [scriptgen] Copyright (c) 1998, 2018, Oracle and/or its affiliates. All rights reserved.
      [scriptgen]
      [scriptgen]
      [scriptgen] Missing hash for required component: header.cap
      init:
      compile_applet:
      convert_applet:
      [convert] Java Card Ant Tasks, Version 1.0
      [convert] Copyright (c) 1998, 2018, Oracle and/or its affiliates. All rights reserved.






      java eclipse






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Jan 11 at 22:15









      Scott

      15.7k113890




      15.7k113890










      asked Jan 11 at 20:02









      massaoudou Balimamassaoudou Balima

      11




      11






















          0






          active

          oldest

          votes











          Your Answer








          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "3"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });














          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1393314%2feclipse-javacard-scriptgen-missing-hash-for-required-component-header-cap%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes
















          draft saved

          draft discarded




















































          Thanks for contributing an answer to Super User!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1393314%2feclipse-javacard-scriptgen-missing-hash-for-required-component-header-cap%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          How to make a Squid Proxy server?

          Is this a new Fibonacci Identity?

          19世紀