Skip to content

Version compatibility

Martin Paljak edited this page Feb 7, 2023 · 16 revisions

The recommended JDK for all-purpose JavaCard development (including JavaCard 2) is JDK-8. For modern work (JavaCard 3) JDK-11 LTS can be used. For new projects targeting new JavaCards (3.0.4+) JDK-17 LTS should be used.

See also end of life dates: https://endoflife.date/java

The supported class file major version mapping against major JDK releases is as follows:

JavaCard Kit Converter can convert (up to) Supported JDK-s
2.1.1 1.2 (46) JDK-8
2.1.2 1.2 JDK-8
2.2.1 1.2 JDK-8
2.2.2 1.5 (49) JDK-8
3.0.1 1.6 (50) JDK-8, JDK-11
3.0.4 1.6 JDK-8, JDK-11
3.0.5 1.6 JDK-8, JDK-11
3.1.0 1.7 (51) JDK-8, JDK-11, JDK-17, JDK-19
  • JDK-8 minimum target version is 1.2
  • JDK-11 minimum target version is 1.6 (supports JC 3.0.x)
  • JDK-17 minimum target version is 1.7 (supports JC 3.1.x)
  • JC 3.1.0 includes new format export files for 3.0.4 and 3.0.5
Clone this wiki locally