Elasticsearch failed to start due to TEMP directory contains whitespace


I recently and suddenly encounter an error message "Could not find or load main class XXXX\AppData\Local\Temp\elasticsearch" when I tried to start an Elasticsearch instance. My username contains whitespace. It seems like the Elasticsearch only obtains a partial path correctly (i.e., Jims John --> John). This issue occurs after the most recent windows update.

Any solutions?


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