neo4j / apoc

Apache License 2.0
84 stars 27 forks source link

[4Bece3wd] Use Neo4j home to determine default config location. #586

Closed Lojjs closed 6 months ago

Lojjs commented 6 months ago

On Windows service, 'sun.java.command' is not supported. The fallback default path to the config folder was set to '.' which is not the actual default. With this solution, the home folder of Neo4j is instead used to calculate the default.

In order to get it to work when both APOC Core and Extended is installed, I reckon the same change should also be applied to extended/src/main/java/apoc/ExtendedApocConfig.java