this seems to be a quite common issue many people face. I exhausted every single resource I could find on the topic with all suggested solutions, none worked for me. I probably am missing something tiny in some file, but I can't see a thing anymore. Please help, it would be HIGHLY appreciated.
Ok so this is my environment:
Windows 10 Pro, using Windows PowerShell ISE, no-admin rights (normal user account).
JAVA_HOME set in env at: C:\Program Files\Java\jdk-11.0.1\bin\javaw.exe
I tried pointing it at ...jdk-11.0.1\bin and ...jdk-11.0.1, none worked.
The previous paths were added and tested in the PATH env var, didn't work.
The PATH env var also include: C:\Program Files (x86)\Common Files\Oracle\Java\javapath, which containes: java.exe, javaw.exe, javaws.exe
It is not possible to remove this from PATH as I don't have admin rights on my pc.
Filebeat, Elasticsearch, Kibana are all working fine, except Logstash. Before running FESK services I set the env var of JAVA_HOME='C:\Program Files\Java\jdk-11.0.1' through a poweshell ISE script. It works fine.
All of my Elasticstack services are located at C:\Users\My Account\ES. Yes, there's an empty space between my first name and last name, which was set by our IT guy...
A solution suggested substituting '!' with '%' or completely remove them from from JAVA_HOME in logstash.bat, didn't work.
Another workaround suggested adding:
in bin\logstash, didn't work.
Using version 6.5.3 of everything, installed/run through downloading the zip folder.
I'm out of thoughts on why ES, FB, Kibana are all working fine and Logstash is so problematic.