fhamborg / Giveme5W1H

Extraction of the journalistic five W and one H questions (5W1H) from news articles: who did what, when, where, why, and how?
Apache License 2.0
512 stars 89 forks source link

something wrong with“giveme5w1h-corenlp” #51

Open umbrellaaaa opened 4 years ago

umbrellaaaa commented 4 years ago

giveme5w1h-corenlp: /bin/sh: 1: java: not found CoreNLPclosed. Return code = 127

Versions (please complete the following information):

TitasDas commented 4 years ago

Please can you tell us the version of jdk you are using :java -version Try installing jdk 8 and see if that resolves this issue for you: sudo apt-get install openjdk-8-jre Please give us your OS version as well in case you are using an older version of ubuntu, jdk 6 or 7 might work for you. Additionally, in case you wanted to switch between different versions just to run this project you could have different versions of jdk installed and use: sudo update-alternatives --config java, sudo update-alternatives --config javac to switch.