Skip to content

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

@XddAdd

Description

@XddAdd

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions