Skip to content

Commit 401a76e

Browse files
committed
Update to Java 21 (Long-term support LTS)
1 parent 6430250 commit 401a76e

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed

.github/workflows/public-analyze-code-graph.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ jobs:
7171
matrix:
7272
include:
7373
- os: ubuntu-22.04
74-
java: 17
74+
java: 21
7575
python: 3.12
7676
miniforge: 24.9.0-0
7777
steps:

COMMANDS.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ a profile, the newest versions will be used. Other profiles can be found in the
7878

7979
### Notes
8080

81-
- Be sure to use Java 17 for Neo4j v5 and Java 11 for Neo4j v4
81+
- Be sure to use Java 21 for Neo4j v5 and Java 11 for Neo4j v4
8282
- Use your own initial Neo4j password
8383
- For more details have a look at the script [analyze.sh](./scripts/analysis/analyze.sh)
8484

README.md

+5-1
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,10 @@ Contained within this repository is a comprehensive and automated code graph ana
2525
- Example analysis for [AxonFramework](https://github.com/AxonFramework/AxonFramework)
2626
- Example analysis for [react-router](https://github.com/remix-run/react-router)
2727

28+
### :newspaper: News
29+
30+
- April 2025: Migrated to Java 21 in preparation for [Neo4j 2025.x](https://neo4j.com/docs/upgrade-migration-guide/current/version-2025/upgrade).
31+
2832
### :notebook: Jupyter Notebook Reports
2933

3034
Here is an overview of [Jupyter Notebooks](https://jupyter.org) reports from [code-graph-analysis-examples](https://github.com/JohT/code-graph-analysis-examples). For a complete list, see the [Jupyter Notebook Report Reference](#page_with_curl-jupyter-notebook-report-reference).
@@ -66,7 +70,7 @@ Here are some fully automated graph visualizations utilizing [GraphViz](https://
6670

6771
## :hammer_and_wrench: Prerequisites
6872

69-
- Java 17 is [required for Neo4j](https://neo4j.com/docs/operations-manual/current/installation/requirements/#deployment-requirements-software) (Neo4j 5.x requirement).
73+
- Java 21 is [required for Neo4j 2025.x](https://neo4j.com/docs/operations-manual/current/installation/requirements/#deployment-requirements-software). See also [Changes from Neo4j 5 to 2025.x](https://neo4j.com/docs/upgrade-migration-guide/current/version-2025/upgrade).
7074
- On Windows it is recommended to use the git bash provided by [git for windows](https://github.com/git-guides/install-git#install-git-on-windows).
7175
- [jq](https://github.com/jqlang/jq) the "lightweight and flexible command-line JSON processor" needs to be installed. Latest releases: https://github.com/jqlang/jq/releases/latest. Check using `jq --version`.
7276
- Set environment variable `NEO4J_INITIAL_PASSWORD` to a password of your choice. For example:

0 commit comments

Comments
 (0)