This is an automated email from the ASF dual-hosted git repository. thurka pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/netbeans-vscode.git
commit 1f57b006343013034c5ad07b30229b40f8ece3e9 Author: Tomas Hurka <[email protected]> AuthorDate: Tue Apr 7 10:57:43 2026 +0200 JDK 21 is now required to build netbeans --- .github/workflows/main.yml | 16 ++++++++-------- BUILD.MD | 2 +- README.MD | 2 +- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 966e338..9ad2cb1 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -91,9 +91,9 @@ jobs: timeout-minutes: 40 strategy: matrix: - java: [ '17', '21' ] + java: [ '21', '25' ] exclude: - - java: ${{ github.event_name == 'pull_request' && 'nothing' || '21' }} + - java: ${{ github.event_name == 'pull_request' && 'nothing' || '25' }} fail-fast: false steps: @@ -121,11 +121,11 @@ jobs: 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 - name: Prepare Artifact - if: ${{ matrix.java == '17' }} + if: ${{ matrix.java == '21' }} run: tar -I 'zstd -9 -T0' -cf /tmp/build.tar.zst --exclude ".git" . - name: Upload Workspace - if: ${{ (matrix.java == '17') && success() }} + if: ${{ (matrix.java == '21') && success() }} uses: actions/upload-artifact@v4 with: name: build @@ -135,11 +135,11 @@ jobs: if-no-files-found: error - name: Create Dev Build - if: ${{ matrix.java == '17' && contains(github.event.pull_request.labels.*.name, 'ci:dev-build') && success() }} + if: ${{ matrix.java == '21' && contains(github.event.pull_request.labels.*.name, 'ci:dev-build') && success() }} run: ant $OPTS -quiet -Dcluster.config=$CLUSTER_CONFIG zip-cluster-config - name: Upload Dev Build - if: ${{ matrix.java == '17' && contains(github.event.pull_request.labels.*.name, 'ci:dev-build') && success() }} + if: ${{ matrix.java == '21' && contains(github.event.pull_request.labels.*.name, 'ci:dev-build') && success() }} uses: actions/upload-artifact@v4 with: name: dev-build_${{github.event.pull_request.number || github.run_id}} @@ -158,7 +158,7 @@ jobs: timeout-minutes: 60 strategy: matrix: - java: [ '17' ] + java: [ '21' ] config: [ 'release' ] fail-fast: false steps: @@ -220,7 +220,7 @@ jobs: timeout-minutes: 60 strategy: matrix: - java: [ '17' ] + java: [ '21' ] fail-fast: false steps: diff --git a/BUILD.MD b/BUILD.MD index bb8c561..f86a7be 100644 --- a/BUILD.MD +++ b/BUILD.MD @@ -23,7 +23,7 @@ ## Prerequisities -- JDK, version 17 or later +- JDK, version 21 or later - Ant, latest version - Maven, latest version - node.js, latest LTS (to build VSIX) diff --git a/README.MD b/README.MD index 3198a7d..b5a3f8f 100644 --- a/README.MD +++ b/README.MD @@ -4,7 +4,7 @@ Apache NetBeans Language Server for VS Code extension (VSNetBeans) is based on N See [Documentation](vscode/README.md) on VSNetBeans features. ## Requirements -* JDK 17 or higher to build and run Java LSP +* JDK 21 or higher to build and run Java LSP * Node.js 20.18.1 or higher and npm installed to build VSIX ## Build --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
