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

Start logstash on Win10 with error: "could not find java; set JAVA_HOME or ensure java is in PATH" #16596

Open
XddAdd opened this issue Oct 24, 2024 · 1 comment

Comments

@XddAdd
Copy link

XddAdd commented Oct 24, 2024

Logstash information:

  1. Logstash version: logstash Version not detected
  2. Logstash installation source: expanded from "logstash-8.15.3-linux-x86_64.tar.gz"
  3. How is Logstash being run: bin\logstash.bat (Powershell)

Plugins installed:
Nothing

JVM (e.g. java -version):

  1. JVM version: openjdk version "11.0.0.1" 2023-05-09
  2. JVM installation source: expanded from zip
  3. Value of the LS_JAVA_HOME environment variable if set: not set

OS version (uname -a if on a Unix-like system):
Windows 10

Description of the problem including expected versus actual behavior:
Steps to reproduce:

  1. expand "logstash-8.15.3-linux-x86_64.tar.gz"
  2. run bin\logstash.bat on powershell

Provide logs (if relevant):
Using bundled JDK: xxxxx
could not find java; set JAVA_HOME or ensure java is in PATH

@XddAdd
Copy link
Author

XddAdd commented Oct 24, 2024

I confirm that I have set the JAVA_HOME environment variable and also added JAVA_HOME/bin to the PATH.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant