Skip to content

Commit

Permalink
neo4j-2025.01: update to OpenJDK 21 to fix compilation error
Browse files Browse the repository at this point in the history
Namely:

```
$ mvn package '-DskipTests=true' -T14C -q '-Doverwrite=true'
Security framework of XStream not explicitly initialized, using predefined black list on your own risk.
Security framework of XStream not explicitly initialized, using predefined black list on your own risk.
[ERROR] scalac error: '21' is not a valid choice for '-target'
[ERROR] scalac error: bad option: '-target:jvm-21'
[ERROR] scalac error: '21' is not a valid choice for '-target'
[ERROR] scalac error: bad option: '-target:jvm-21'
[ERROR] exception compilation error occurred!!!
```
  • Loading branch information
OddBloke committed Mar 3, 2025
1 parent 8496ad0 commit 4d20475
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions neo4j-2025.01.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ package:
dependencies:
runtime:
- bash
- openjdk-17-jre
- openjdk-21-jre
provides:
- neo4j=${{package.full-version}}

Expand All @@ -20,7 +20,7 @@ environment:
- ca-certificates-bundle
- curl
- maven
- openjdk-17-default-jdk
- openjdk-21-default-jdk
- wolfi-base
- wolfi-baselayout

Expand Down

0 comments on commit 4d20475

Please sign in to comment.