Can't start service it stops (7.7.0)

I installed it with msi. When i try to start the service it stops immediately...

By the way 7.6.2 works perfectly.

This is the error text on event logs;

Elastic.ProcessHosts.Process.StartupException: Could not evaluate jvm.options file: C:\ProgramData\Elastic\Elasticsearch\config\jvm.options result: Exception in thread "main" java.nio.file.NoSuchFileException: C:\ProgramData\Elastic\Elasticsearch\config\jvm.options\jvm.options
	at java.base/sun.nio.fs.WindowsException.translateToIOException(
	at java.base/sun.nio.fs.WindowsException.rethrowAsIOException(
	at java.base/sun.nio.fs.WindowsException.rethrowAsIOException(
	at java.base/sun.nio.fs.WindowsFileSystemProvider.newByteChannel(
	at java.base/java.nio.file.Files.newByteChannel(
	at java.base/java.nio.file.Files.newByteChannel(
	at java.base/java.nio.file.spi.FileSystemProvider.newInputStream(
	at java.base/java.nio.file.Files.newInputStream(

I encountered the same situation.

What I found as a temporary workaround is the following:

  1. Create a new folder in C:\ProgramData\Elastic\Elasticsearch\config:


  1. Move the file jvm.options into the newly created folder jvm.options_

  2. Rename folder jvm.options_ to jvm.options.

When you start the service, it will be able to find the configuration file:


I suspect you may be running into a bug with the 7.7.0 MSI installer. I've documented a workaround:

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