Skip to content

Commit

Permalink
Update recommended setup for older cards
Browse files Browse the repository at this point in the history
  • Loading branch information
martinpaljak authored Oct 4, 2024
1 parent 5e54aa2 commit fe6bacf
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,15 +59,17 @@ target:
[cap] CAP saved to /Users/martin/projects/ant-javacard/Empty_A000000617008E5CDAAE_50da91a4_2.2.2.cap
```
## Recommended setup
Based on the [JavaCard SDK and JDK version compatibility matrix](https://github.com/martinpaljak/ant-javacard/wiki/JavaCard-SDK-and-JDK-version-compatibility).
- Targeting JC 3.0.4 or later (modern JavaCard-s)
- Use JDK 17 (don't forget to set `$JAVA_HOME`)
- Use JavaCard SDK 3.2.0 (`jckit="sdks/jc320v24.0_kit"`) with right target (`targetsdk="3.x.y"`)
- NOTE: depending on your external components, absence of v2.3 export files will force you to stick with JavaCard SDK 3.1
- Targeting JC 2.x.y or 3.0.1 (legacy JavaCard-s)
- Use JDK 8 (don't forget to set `$JAVA_HOME`)
- Targeting JC 2.x.y or 3.0.1 (older JavaCard-s)
- Use JDK 11 (don't forget to set `$JAVA_HOME`)
- Use JavaCard SDK 3.0.5u4 (`jckit="sdks/jc305u4_kit"`) with right target (`targetsdk="sdks/jc222_kit"`)

> Note: ant-javacard will continue to support JavaCard 2 for as long as this is achievable with sane effort
> [!NOTE]
> ant-javacard will continue to support using JavaCard 2.X SDK-s (and thus JDK-8) for as long as this is achievable with sane effort
## Syntax
Sample:
Expand Down

0 comments on commit fe6bacf

Please sign in to comment.