参考链接:Neo4j---报错Invoke-Neo4j : Could not find java at xxxx-CSDN博客
报错信息
D:\***\neo4j-community-5.12.0-windows\neo4j-community-5.12.0\bin>neo4j console
Invoke-Neo4j : Could not find java at D:\***\java_folder\jdk-17\bin\java.exe
所在位置 D:\***\neo4j-community-5.12.0-windows\neo4j-community-5.12.0\bin\neo4j.ps1:21 字符: 7
+ Exit (Invoke-Neo4j -Verbose:$Arguments.Verbose -CommandArgs $Argument ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Write-Error], WriteErrorException
+ FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Invoke-Neo4j
注意:
1.java安装地址 :我的下载地址是 c:download 但安装地址是