Skip to content

Commit cbae1f3

Browse files
Update Java to 21 (#306)
* Update Java to 21 * Add a link to the Bolt docs * Update setup.adoc
1 parent 92582a8 commit cbae1f3

File tree

4 files changed

+9
-12
lines changed

4 files changed

+9
-12
lines changed

modules/ROOT/pages/extending-neo4j/project-setup.adoc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xs
3838
<description>A template project for building a Neo4j Procedure</description>
3939
4040
<properties>
41-
<java.version>17</java.version>
41+
<java.version>21</java.version>
4242
<maven.compiler.release>${java.version}</maven.compiler.release>
4343
4444
<neo4j.version>{neo4j-version-exact}</neo4j.version>
@@ -114,8 +114,8 @@ Once the procedure has been deployed to the _plugins_ directory of each Neo4j in
114114
<plugin>
115115
<artifactId>maven-compiler-plugin</artifactId>
116116
<configuration>
117-
<source>17</source>
118-
<target>17</target>
117+
<source>21</source>
118+
<target>21</target>
119119
</configuration>
120120
</plugin>
121121
<plugin>

modules/ROOT/pages/java-embedded/bolt.adoc

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,10 @@
11
:description: How to open a Bolt connector to your embedded instance to get GUI administration and other benefits.
22

3-
:org-neo4j-graphdb-factory-GraphDatabaseFactory: {neo4j-javadocs-base-uri}/org/neo4j/graphdb/factory/GraphDatabaseFactory.html
4-
5-
63
[[java-embedded-bolt]]
74
= Bolt connector
85

96
This describes how to open a Bolt connector to your embedded instance to get GUI administration and other benefits.
10-
Accessing Neo4j embedded via the Bolt protocol.
7+
Accessing Neo4j embedded via the link:https://neo4j.com/docs/bolt/current/[Bolt protocol].
118

129
The Neo4j Browser and the official Neo4j Drivers use the Bolt database protocol to communicate with Neo4j.
1310
By default, Neo4j embedded does not expose a Bolt connector, but you can enable one.

modules/ROOT/pages/java-embedded/setup.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@ The following examples use the top-level artifact approach.
1717

1818

1919
[NOTE]
20-
.[enterprise-edition]
2120
====
2221
The examples are only valid for Neo4j Community Edition.
22+
2323
To add Neo4j Enterprise Edition as a dependency, please get in contact with link:https://neo4j.com/contact-us/[Neo4j Professional Services^].
2424
See link:{neo4j-docs-base-uri}/operations-manual/{page-version}/introduction[Operations Manual -> Introduction] for details about the Community and Enterprise Editions.
2525
====
@@ -51,7 +51,7 @@ Where the `artifactId` is found in the <<editions>> table.
5151

5252
=== Eclipse and Maven
5353

54-
For development in link:http://www.eclipse.org[Eclipse^], it is recommended to install the link:http://www.eclipse.org/m2e/[m2e plugin^] and let Maven manage the project build classpath instead.
54+
For development in link:https://www.eclipse.org[Eclipse^], it is recommended to install the link:https://www.eclipse.org/m2e/[m2e plugin^] and let Maven manage the project build classpath instead.
5555
This also adds the possibility to build your project both via the command line with Maven and have a working Eclipse setup for development.
5656

5757

modules/ROOT/pages/jmx-metrics.adoc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ server.jvm.additional=-Dcom.sun.management.jmxremote.ssl=false
4343

4444
[IMPORTANT]
4545
====
46-
Although SSL for JMX Remote Management is disabled throughout this document, to configure it based on your requirements, you can follow the instructions in the link:https://docs.oracle.com/en/java/javase/11/management/monitoring-and-management-using-jmx-technology.html[Java SE 11 Monitoring and Management Guide^].
46+
Although SSL for JMX Remote Management is disabled throughout this document, to configure it based on your requirements, you can follow the instructions in the link:https://docs.oracle.com/en/java/javase/21/management/monitoring-and-management-using-jmx-technology.html[Java SE 21 Monitoring and Management Guide^].
4747
====
4848

4949

@@ -53,7 +53,7 @@ Although SSL for JMX Remote Management is disabled throughout this document, to
5353
Password authentication is enabled by default in JMX Remote Management.
5454
You can find information about setting up authentication with LDAP and file-based approach in the following sections.
5555

56-
Refer to the link:https://docs.oracle.com/en/java/javase/11/management/monitoring-and-management-using-jmx-technology.html[Java SE 11 Monitoring and Management Guide^] for more options, including configuration steps for SSL client authentication.
56+
Refer to the link:https://docs.oracle.com/en/java/javase/21/management/monitoring-and-management-using-jmx-technology.html[Java SE 21 Monitoring and Management Guide^] for more options, including configuration steps for SSL client authentication.
5757

5858

5959
[[ldap]]
@@ -184,7 +184,7 @@ The `<port>` value is configured by the `com.sun.management.jmxremote.port` prop
184184
Besides the MBeans, exposed by the JVM, you also see be default `neo4j.metrics` section in the MBeans tab.
185185
Under that, you have access to all the monitoring information exposed by Neo4j.
186186

187-
For opening JMX to remote monitoring access, please see <<jmx-remote>> and link:https://docs.oracle.com/en/java/javase/11/management/monitoring-and-management-using-jmx-technology.html#GUID-805517EC-2D33-4D61-81D8-4D0FA770D1B8[the JMX documention^].
187+
For opening JMX to remote monitoring access, please see <<jmx-remote>> and link:https://docs.oracle.com/en/java/javase/21/management/monitoring-and-management-using-jmx-technology.html#GUID-805517EC-2D33-4D61-81D8-4D0FA770D1B8[the JMX documention^].
188188

189189
.Neo4j MBeans view
190190
image::jconsole-beans1.png[alt="Neo4j MBeans view", width=600]

0 commit comments

Comments
 (0)