Skip to content

Commit 1f57b00

Browse files
committed
JDK 21 is now required to build netbeans
1 parent 6f749c3 commit 1f57b00

3 files changed

Lines changed: 10 additions & 10 deletions

File tree

.github/workflows/main.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -91,9 +91,9 @@ jobs:
9191
timeout-minutes: 40
9292
strategy:
9393
matrix:
94-
java: [ '17', '21' ]
94+
java: [ '21', '25' ]
9595
exclude:
96-
- java: ${{ github.event_name == 'pull_request' && 'nothing' || '21' }}
96+
- java: ${{ github.event_name == 'pull_request' && 'nothing' || '25' }}
9797
fail-fast: false
9898
steps:
9999

@@ -121,11 +121,11 @@ jobs:
121121
run: ant $OPTS -quiet -Dcluster.config=$CLUSTER_CONFIG -Dmetabuild.jsonurl=https://raw.githubusercontent.com/apache/netbeans-jenkins-lib/refs/heads/master/meta/netbeansvscode.json -Dmetabuild.RawVersion=dev build-netbeans
122122

123123
- name: Prepare Artifact
124-
if: ${{ matrix.java == '17' }}
124+
if: ${{ matrix.java == '21' }}
125125
run: tar -I 'zstd -9 -T0' -cf /tmp/build.tar.zst --exclude ".git" .
126126

127127
- name: Upload Workspace
128-
if: ${{ (matrix.java == '17') && success() }}
128+
if: ${{ (matrix.java == '21') && success() }}
129129
uses: actions/upload-artifact@v4
130130
with:
131131
name: build
@@ -135,11 +135,11 @@ jobs:
135135
if-no-files-found: error
136136

137137
- name: Create Dev Build
138-
if: ${{ matrix.java == '17' && contains(github.event.pull_request.labels.*.name, 'ci:dev-build') && success() }}
138+
if: ${{ matrix.java == '21' && contains(github.event.pull_request.labels.*.name, 'ci:dev-build') && success() }}
139139
run: ant $OPTS -quiet -Dcluster.config=$CLUSTER_CONFIG zip-cluster-config
140140

141141
- name: Upload Dev Build
142-
if: ${{ matrix.java == '17' && contains(github.event.pull_request.labels.*.name, 'ci:dev-build') && success() }}
142+
if: ${{ matrix.java == '21' && contains(github.event.pull_request.labels.*.name, 'ci:dev-build') && success() }}
143143
uses: actions/upload-artifact@v4
144144
with:
145145
name: dev-build_${{github.event.pull_request.number || github.run_id}}
@@ -158,7 +158,7 @@ jobs:
158158
timeout-minutes: 60
159159
strategy:
160160
matrix:
161-
java: [ '17' ]
161+
java: [ '21' ]
162162
config: [ 'release' ]
163163
fail-fast: false
164164
steps:
@@ -220,7 +220,7 @@ jobs:
220220
timeout-minutes: 60
221221
strategy:
222222
matrix:
223-
java: [ '17' ]
223+
java: [ '21' ]
224224
fail-fast: false
225225

226226
steps:

BUILD.MD

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323

2424
## Prerequisities
2525

26-
- JDK, version 17 or later
26+
- JDK, version 21 or later
2727
- Ant, latest version
2828
- Maven, latest version
2929
- node.js, latest LTS (to build VSIX)

README.MD

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Apache NetBeans Language Server for VS Code extension (VSNetBeans) is based on N
44
See [Documentation](vscode/README.md) on VSNetBeans features.
55

66
## Requirements
7-
* JDK 17 or higher to build and run Java LSP
7+
* JDK 21 or higher to build and run Java LSP
88
* Node.js 20.18.1 or higher and npm installed to build VSIX
99

1010
## Build

0 commit comments

Comments
 (0)