# Can't start service it stops (7.7.0)

**URL:** <https://discuss.elastic.co/t/cant-start-service-it-stops-7-7-0/233231>\
**Category:** Elasticsearch\
**Tags:** windows-installer\
**Created:** [May 19, 2020, 3:48am UTC](https://discuss.elastic.co/t/cant-start-service-it-stops-7-7-0/233231 "2020-05-19T03:48:01Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Burak\_Tarim](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/burak_tarim/32/45679_2.png) [@Burak\_Tarim](https://discuss.elastic.co/u/Burak_Tarim)\
**Post date:** [May 19, 2020, 3:48am UTC](https://discuss.elastic.co/t/cant-start-service-it-stops-7-7-0/233231/1 "2020-05-19T03:48:01Z")

</div>

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;

```auto
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(WindowsException.java:85)
	at java.base/sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:103)
	at java.base/sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:108)
	at java.base/sun.nio.fs.WindowsFileSystemProvider.newByteChannel(WindowsFileSystemProvider.java:235)
	at java.base/java.nio.file.Files.newByteChannel(Files.java:370)
	at java.base/java.nio.file.Files.newByteChannel(Files.java:421)
	at java.base/java.nio.file.spi.FileSystemProvider.newInputStream(FileSystemProvider.java:420)
	at java.base/java.nio.file.Files.newInputStream(Files.java:155)
	at org.elasticsearch.tools.launchers.JvmOptionsParser.readJvmOptionsFi...`

```

---

<div class="post-metadata">

**Author:** ![zn1](https://avatars.discourse-cdn.com/v4/letter/z/7ea924/32.png) [@zn1](https://discuss.elastic.co/u/zn1)\
**Post date:** [May 19, 2020, 12:53pm UTC](https://discuss.elastic.co/t/cant-start-service-it-stops-7-7-0/233231/2 "2020-05-19T12:53:40Z")

</div>

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:

jvm.options\_

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:

C:\ProgramData\Elastic\Elasticsearch\config\jvm.options\jvm.options

---

<div class="post-metadata">

**Author:** ![forloop](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/forloop/32/9021_2.png) [@forloop](https://discuss.elastic.co/u/forloop)\
**Post date:** [May 20, 2020, 1:41am UTC](https://discuss.elastic.co/t/cant-start-service-it-stops-7-7-0/233231/3 "2020-05-20T01:41:43Z")

</div>

I suspect you may be running into a bug with the 7.7.0 MSI installer. I've documented a workaround: [https://github.com/elastic/windows-installers/issues/363#issuecomment-631158455](https://github.com/elastic/windows-installers/issues/363#issuecomment-631158455)

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [June 17, 2020, 1:41am UTC](https://discuss.elastic.co/t/cant-start-service-it-stops-7-7-0/233231/4 "2020-06-17T01:41:46Z")

</div>

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