Skip to content

Commit 8cbaa1d

Browse files
committed
Update JDK version in build instruction
For javacard compatible with jcdk v3.0.4 (or lower), use JDK 8 or 11. Using jdk 17 gives the following error: The applet build from master shows the following with JDK17: --- Buildfile: /home/.../SatochipApplet/build.xml build: [cap] INFO: using JavaCard 3.0.4 SDK in /home/.../SatochipApplet/sdks/jc304_kit with JDK 17 [cap] INFO: Setting package name to org.satochip.applet [cap] Building CAP with 1 applet from package org.satochip.applet (AID: 5361746F43686970) [cap] org.satochip.applet.CardEdge 5361746F4368697000 [compile] Compiling files from /home/.../SatochipApplet/src/org/satochip/applet BUILD FAILED /home/.../SatochipApplet/build.xml:15: Can't use JDK 17 with JavaCard kit 3.0.4 (use JDK 11)
1 parent 917b38b commit 8cbaa1d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ https://github.com/martinpaljak/ant-javacard/releases/latest/download/ant-javaca
8282
sudo apt install ant
8383
```
8484

85-
* Use/install [recommended](https://github.com/martinpaljak/ant-javacard/wiki/JavaCard-SDK-and-JDK-version-compatibility) java JDK 8 or 17
85+
* Use/install [recommended](https://github.com/martinpaljak/ant-javacard/wiki/JavaCard-SDK-and-JDK-version-compatibility) java JDK 8 or 11
8686
```
8787
sudo update-alternatives --config java
8888
```

0 commit comments

Comments
 (0)