After run apt-get diss-upgrade I try start neo4j and receive follow output:
sudo neo4j console --verbose
Directories in use:
home: /usr/share/neo4j
config: /usr/share/neo4j/conf
logs: /usr/share/neo4j/logs
plugins: /usr/share/neo4j/plugins
import: /usr/share/neo4j/import
data: /usr/share/neo4j/data
certificates: /usr/share/neo4j/certificates
licenses: /usr/share/neo4j/licenses
run: /usr/share/neo4j/run
Starting Neo4j.
WARNING! You are using an unsupported Java runtime.
- Please use Oracle(R) Java(TM) 11, OpenJDK(TM) 11 to run Neo4j.
- Please see https://neo4j.com/docs/ for Neo4j installation instructions.
Executing command line: /usr/lib/jvm/java-17-openjdk-arm64/bin/java -cp /usr/share/neo4j/conf/:/usr/share/neo4j/lib/ -XX:+UseG1GC -XX:-OmitStackTraceInFastThrow -XX:+AlwaysPreTouch -XX:+UnlockExperimentalVMOptions -XX:+TrustFinalNonStaticFields -XX:+DisableExplicitGC -XX:MaxInlineLevel=15 -XX:-UseBiasedLocking -Djdk.nio.maxCachedBufferSize=262144 -Dio.netty.tryReflectionSetAccessible=true -Djdk.tls.ephemeralDHKeySize=2048 -Djdk.tls.rejectClientInitiatedRenegotiation=true -XX:FlightRecorderOptions=stackdepth=256 -XX:+UnlockDiagnosticVMOptions -XX:+DebugNonSafepoints -Dlog4j2.disable.jmx=true -Dfile.encoding=UTF-8 org.neo4j.server.CommunityEntryPoint --home-dir=/usr/share/neo4j --config-dir=/usr/share/neo4j/conf
OpenJDK 64-Bit Server VM warning: Option UseBiasedLocking was deprecated in version 15.0 and will likely be removed in a future release.
2022-11-14 20:01:02.220+0000 INFO Starting...
Exception in thread "main" java.lang.LinkageError: Cannot to link java.nio.DirectByteBuffer
at org.neo4j.internal.unsafe.UnsafeUtil.<clinit>(UnsafeUtil.java:128)
at org.neo4j.memory.RuntimeInternals.guessHeaderSize(RuntimeInternals.java:158)
at org.neo4j.memory.RuntimeInternals.<clinit>(RuntimeInternals.java:53)
at org.neo4j.memory.HeapEstimator.<clinit>(HeapEstimator.java:103)
at org.neo4j.internal.collector.RecentQueryBuffer.<clinit>(RecentQueryBuffer.java:37)
at org.neo4j.graphdb.factory.module.GlobalModule.<init>(GlobalModule.java:212)
at org.neo4j.graphdb.facade.DatabaseManagementServiceFactory.createGlobalModule(DatabaseManagementServiceFactory.java:273)
at org.neo4j.graphdb.facade.DatabaseManagementServiceFactory.build(DatabaseManagementServiceFactory.java:133)
at org.neo4j.server.CommunityBootstrapper.createNeo(CommunityBootstrapper.java:36)
at org.neo4j.server.NeoBootstrapper.start(NeoBootstrapper.java:142)
at org.neo4j.server.NeoBootstrapper.start(NeoBootstrapper.java:95)
at org.neo4j.server.CommunityEntryPoint.main(CommunityEntryPoint.java:34)
Caused by: java.lang.IllegalAccessException: module java.base does not open java.nio to unnamed module @781e34a9
at java.base/java.lang.invoke.MethodHandles.privateLookupIn(MethodHandles.java:259)
at org.neo4j.internal.unsafe.UnsafeUtil.<clinit>(UnsafeUtil.java:111)
... 11 more
2022-11-14 20:01:02.292+0000 INFO Neo4j Server shutdown initiated by request
2022-11-14 20:01:02.293+0000 INFO Stopped.
org.neo4j.server.startup.BootProcessFailureException: Unexpected process failure. See log for info.
at org.neo4j.server.startup.ProcessManager.run(ProcessManager.java:194)
at org.neo4j.server.startup.BootloaderOsAbstraction.console(BootloaderOsAbstraction.java:74)
at org.neo4j.server.startup.UnixBootloaderOs.console(UnixBootloaderOs.java:57)
at org.neo4j.server.startup.Bootloader.console(Bootloader.java:151)
at org.neo4j.server.startup.Neo4jCommand$Console.call(Neo4jCommand.java:56)
at org.neo4j.server.startup.Neo4jCommand$Console.call(Neo4jCommand.java:47)
at picocli.CommandLine.executeUserObject(CommandLine.java:1953)
at picocli.CommandLine.access$1300(CommandLine.java:145)
at picocli.CommandLine$RunLast.executeUserObjectOfLastSubcommandWithSameParent(CommandLine.java:2352)
at picocli.CommandLine$RunLast.handle(CommandLine.java:2346)
at picocli.CommandLine$RunLast.handle(CommandLine.java:2311)
at picocli.CommandLine$AbstractParseResultHandler.execute(CommandLine.java:2179)
at picocli.CommandLine.execute(CommandLine.java:2078)
at org.neo4j.server.startup.Neo4jCommand.main(Neo4jCommand.java:166)
|