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

Cannot drive neo4j-etl with my JAVA 8 environment #95

Open
yaowei2010 opened this issue Nov 30, 2023 · 0 comments
Open

Cannot drive neo4j-etl with my JAVA 8 environment #95

yaowei2010 opened this issue Nov 30, 2023 · 0 comments

Comments

@yaowei2010
Copy link

Question

I would like to use the neo4j-etl tool with my RDMS database to do the ETL work, but I cannot drive the software because the response which I always got would be "check my JAVA environment".

I use the command from the tutorial: https://neo4j-contrib.github.io/neo4j-etl/#neo4j-etl-cli

./bin/neo4j-etl export \
  --rdbms:url jdbc:mysql://localhost:3306/northwind?autoReconnect=true&useSSL=false \
  --rdbms:user neo4j \
  --rdbms:password neo4j \
  --import-tool $NEO4J_HOME/bin \
  --options-file /tmp/northwind/options.json \
  --csv-directory /tmp/northwind \
  --destination /home/bioinfo/neo4j/data/databases/graph.db/ \
  --quote '"' --force

But what I got is :

- Illegal command (NullPointerException: null)

usage: neo4j-etl <command> [ <args> ]

Commands are:
    export                      Export from RDBMS and import into NEO4J via CSV files.
    generate-metadata-mapping   Create RDBMS to Neo4j metadata mapping Json.
    help                        Display help information

See 'neo4j-etl help <command>' for more information on a specific command.
It seems 'java' command is not available.
Please check your JAVA_HOME environment variable.
Also check if you have a valid Java 8 environment

I have check my java environment was 8 version.
image

I do not know why I always got the message.

Specifications (Mandatory)

Currently used versions

Versions

  • OS: Rocky OS 9.3
  • Library:
  • Neo4j: neo4j docker image the latest version
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant