Skip to Main Content

Java Card

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

Verify CAP Error

wang wangSep 26 2024

Javacard Simulator Version:3..1.0
Javacard Tools:3.2.0 (I can`t find version of 3.1.0)

Build Error:
Buildfile: D:\eclipse-workspace\ClassicApplet\HelloWorld\applet\build.xml
init:
compile_applet:
convert_applet:
[convert] Java Card Ant Tasks, Version 1.0
[convert] Copyright (c) 1998, 2024, Oracle and/or its affiliates. All rights reserved.
[convert] Sep 26, 2024 4:44:59 PM
[convert] INFO: Converter [v3.2.0]
[convert] Sep 26, 2024 4:44:59 PM
[convert] INFO: Target platform version [3.2.0]
[convert] Sep 26, 2024 4:44:59 PM
[convert] INFO: Copyright (c) 1998, 2024, Oracle and/or its affiliates. All rights reserved.
[convert]
[convert]
[convert] Sep 26, 2024 4:44:59 PM
[convert] INFO: conversion completed with 0 errors and 0 warnings.
[copy] Copying 3 files to D:\eclipse-workspace\ClassicApplet\HelloWorld\applet\build
verify_applet:
[verifycap] Java Card Ant Tasks, Version 1.0
[verifycap] Copyright (c) 1998, 2024, Oracle and/or its affiliates. All rights reserved.
[verifycap] Java Card Ant Tasks, Version 1.0
[verifycap] Copyright (c) 1998, 2024, Oracle and/or its affiliates. All rights reserved.
[verifycap] Sep 26, 2024 4:44:59 PM
[verifycap] INFO: Verifier [v3.2.0]
[verifycap] Sep 26, 2024 4:44:59 PM
[verifycap] INFO: Copyright (c) 1998, 2024, Oracle and/or its affiliates. All rights reserved.
[verifycap]
[verifycap]
[verifycap] Sep 26, 2024 4:44:59 PM
[verifycap] INFO: Verifying CAP file ./build/applet.cap
[verifycap] Sep 26, 2024 4:44:59 PM
[verifycap] SEVERE: Error: Version number mismatch on imported package javacard/framework (AID a0:0:0:0:62:1:1):
[verifycap] imported version is 1.9, export file version is 1.8
[verifycap] Verification completed with 0 warnings and 1 error.
[verifycap] Error: Version number mismatch on imported package javacard/framework (AID a0:0:0:0:62:1:1):
[verifycap] imported version is 1.9, export file version is 1.8
[verifycap] Verification completed with 0 warnings and 1 error.

BUILD FAILED

I gusses this error is due to the javacard tools version should be 3.1.0 ,but I can`t find this version.

Comments
Post Details
Added on Sep 26 2024
13 comments
141 views