0

I am trying to run a sample applet (Oracle\Java Card Development Kit 3.0.5u3\samples\reference_apps\Biometry\Client) 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.
New contributor
massaoudou Balima is a new contributor to this site. Take care in asking for clarification, commenting, and answering. Check out our Code of Conduct.

Your Answer

massaoudou Balima is a new contributor. Be nice, and check out our Code of Conduct.

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.