Elasticsearch Engineer 1 - Lab 1.4 - can not find Java

I’m currently attempting to take ElasticSearch Engineer 1 (On-Demand) training and am stuck at Lab 1.4 in the Lab Environment (Strigo). When attempting to run the logstash command, I get the following error:

[elastic@server1 ~]$ ./logstash-7.8.0/bin/logstash -f datasets/blogs_sql.conf
could not find java; set JAVA_HOME or ensure java is in PATH

I found a JDK dir in the elasticsearch directory, but when I tried to set the PATH to point to it, the environment sort of blew up (logstash still fails and many default unix commands disappear). I subsequently attempted to install the Java JDK on the machine, but we don’t have sudo access.

I've also attempted to restart the VM. Is this something you all can help me out with?

1 Like

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.