Commit graph

4 commits

Author SHA1 Message Date
Andrea Selva
67dea141ca
Quotes java executable path in case it contains spaces (#13881) (#13893)
Updates all Windows batch scripts used as CLI tools to quotes the %JAVACMD% to avoid path problems when the path contains spaces.

(cherry picked from commit a8bd90c22d)
2022-03-14 19:04:53 +01:00
Andrea Selva
a7893d8bb6
[Backport 7.17]Fix Logstash cli tools to use the selected JDK under Windows (#13839) (#13863)
* Fix Logstash cli tools to use the selected JDK under Windows (#13839)

Some Logstash tools invokes directly the JRuby intepreter. The interpreter uses the JVM pointed by two environment variables:
- JAVACMD
- JAVA_HOME\bin\java.exe

The setup.bat script exported the selected JVM under the env var named JAVA, which isn't recognized by vendored jruby.
This commit fixes it renaming to JAVACMD.

(cherry picked from commit 0084492494)

* Fixed the case for JAVA_HOME selection path
2022-03-07 17:22:10 +01:00
André Letterer
9198afd368 Update pqcheck.bat
Fixes #11754
2020-04-21 16:36:26 +00:00
André Letterer
ba89b217e5 tools convert to batch files (#11753)
Fixes #11754
2020-04-21 16:36:26 +00:00