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.

Bug in Eclipse plug in

jeremy norrisMar 28 2025 — edited Mar 28 2025

Hiya,

In V24.1 JavaCard Eclipse plugin when you have exp files and paths the plug in uses the wrong separator for the paths. It uses a colon and causes a error in the cap file generation:

[ INFO: ] Converter [v24.1]

[ INFO: ] Copyright (c) 1998, 2024, Oracle and/or its affiliates. All rights reserved

error: export file toolkit.exp of package uicc.toolkit not found.

This is caused by the colon use in the path for exp in the conf/json build conf of a project.

-exportpath C:/../…/ts_102241v160200p0/export_files:C:/../../../ts_131130v160000p0/31130_Annex_B_Export_Files

it should be:

-exportpath C:/../…/ts_102241v160200p0/export_files;C:/../../../ts_131130v160000p0/31130_Annex_B_Export_Files

else the cap verify run by the ant build will fail…

To help others with similar issues I'm raising this as a bug in the plugin and should be a known issue.

It doesn't help half the examples really don't compile without messing around with JDK versions etc for example helloworld uses functions only available in JDK 8 and not 17. I personally think the whole user guide is total rubbish and is misleading…

Best Regards

Jeremy Norris (Zariot)..

Comments
Post Details
Added on Mar 28 2025
4 comments
229 views