Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 1 commit into from
Feb 26, 2024

Conversation

Lojjs
Copy link
Contributor

@Lojjs Lojjs commented Feb 19, 2024

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

@Lojjs Lojjs added bug Something isn't working team-cypher-surface dev labels Feb 19, 2024
This will be used in Windows service, where sun.java.command does not work.
Copy link
Contributor

@loveleif loveleif left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice!

@Lojjs Lojjs merged commit dc9369f into dev Feb 26, 2024
21 checks passed
@Lojjs Lojjs deleted the dev-broken-conf branch February 26, 2024 07:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working dev team-cypher-surface
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants