Skip to content

Commit b7a47b2

Browse files
authored
Update minimum JDK version to 21 (#291)
Jelly-JVM will upgrade to 21 in the next release anyway, once I'm done screaming at sbt.
1 parent 0437d7d commit b7a47b2

3 files changed

Lines changed: 10 additions & 5 deletions

File tree

‎.github/workflows/publish.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ jobs:
4343
uses: actions/setup-java@v4
4444
with:
4545
distribution: temurin
46-
java-version: 17
46+
java-version: 21
4747
cache: sbt
4848

4949
- name: Setup SBT

‎.github/workflows/scala.yml‎

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,6 @@ jobs:
1616
fail-fast: false
1717
matrix:
1818
include:
19-
- os: ubuntu-latest
20-
java: 17
2119
- os: ubuntu-latest
2220
java: 21
2321
- os: ubuntu-latest
@@ -53,7 +51,7 @@ jobs:
5351
uses: actions/setup-java@v4
5452
with:
5553
distribution: temurin
56-
java-version: 17
54+
java-version: 21
5755
cache: sbt
5856

5957
- name: Setup SBT

‎README.md‎

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,14 +120,21 @@ And use the `--debug` option to get more information about any exceptions you en
120120

121121
## Alternative installation: JAR builds
122122

123-
If for some reason the binaries wouldn't work for you, or you want to get better performance for large files (see *Performance considerations* below), you can use the JAR build. This build runs on any platform, as long as you have Java (min. version 17). Go to the **[releases page](https://github.com/Jelly-RDF/cli/releases/latest)** and download the `jelly-cli.jar` file. Then, run it like so:
123+
If for some reason the binaries wouldn't work for you, or you want to get better performance for large files (see *Performance considerations* below), you can use the JAR build. This build runs on any platform, as long as you have Java (min. version 21). Go to the **[releases page](https://github.com/Jelly-RDF/cli/releases/latest)** and download the `jelly-cli.jar` file. Then, run it like so:
124124

125125
```shell
126126
java -jar jelly-cli.jar --help
127127
```
128128

129129
For simple day-to-day use cases, we recommend using the binary distribution, because it has way faster startup times and doesn't require you to install Java.
130130

131+
### Java version requirements
132+
133+
Depending on the version of `jelly-cli`:
134+
135+
- 0.10.x or later: Java 21+
136+
- 0.1.x – 0.9.x: Java 17+
137+
131138
### Performance considerations
132139

133140
If you are bulk-converting large amounts of RDF data (>10M triples), you may want to use the JAR build instead of the pre-compiled binary. With the JAR, your JVM will perform just-in-time compilation, resulting in better optimized code. The application will take longer to start, but the overall throughput will be better for large files.

0 commit comments

Comments
 (0)