# Can any one help me with this exception

**URL:** https://discuss.elastic.co/t/can-any-one-help-me-with-this-exception/300101
**Category:** Elasticsearch
**Created:** [March 19, 2022, 11:45am UTC](https://discuss.elastic.co/t/can-any-one-help-me-with-this-exception/300101 "2022-03-19T11:45:07Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Kandlavath\_Dasaradhi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kandlavath_dasaradhi/32/103238_2.png) [@Kandlavath\_Dasaradhi](https://discuss.elastic.co/u/Kandlavath_Dasaradhi)
#### Post date: [March 19, 2022, 11:45am UTC](https://discuss.elastic.co/t/can-any-one-help-me-with-this-exception/300101/1 "2022-03-19T11:45:07Z")

</div>

C:\Elasticsearch-7.3.2\bin\>Elasticsearch  
Exception in thread "main" java.nio.file.NoSuchFileException: C:\Elasticsearch-8.0.1\config\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:373)  
at java.base/java.nio.file.Files.newByteChannel(Files.java:424)  
at java.base/java.nio.file.spi.FileSystemProvider.newInputStream(FileSystemProvider.java:420)  
at java.base/java.nio.file.Files.newInputStream(Files.java:158)  
at org.Elasticsearch.tools.launchers.JvmOptionsParser.main(JvmOptionsParser.java:61)

---

<div class="post-metadata">

### Author: ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)
#### Post date: [March 19, 2022, 12:51pm UTC](https://discuss.elastic.co/t/can-any-one-help-me-with-this-exception/300101/2 "2022-03-19T12:51:34Z")

</div>

Welcome!

Please format your code, logs or configuration files using `</>` icon as explained in [this guide](https://discuss.elastic.co/t/about-the-elasticsearch-category/21) and not the citation button. It will make your post more readable.

Or use markdown style like:

````
```
CODE
```

````

This is the icon to use if you are not using markdown format:

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/7/e/7e6e239431ec2d71cbf1beef741f2e93e7cc762c.jpg)

There's a live preview panel for exactly this reasons.

Lots of people read these forums, and many of them will simply skip over a post that is difficult to read, because it's just too large an investment of their time to try and follow a wall of badly formatted text.  
If your goal is to get an answer to your questions, it's in your interest to make it as easy to read and understand as possible.  
Please update your post.

Here a file is missing apparently: `C:\Elasticsearch-8.0.1\config\jvm.options`

I'd also recommend using the latest 7.17.1.

---

<div class="post-metadata">

### Author: ![Kandlavath\_Dasaradhi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kandlavath_dasaradhi/32/103238_2.png) [@Kandlavath\_Dasaradhi](https://discuss.elastic.co/u/Kandlavath_Dasaradhi)
#### Post date: [March 21, 2022, 2:57am UTC](https://discuss.elastic.co/t/can-any-one-help-me-with-this-exception/300101/3 "2022-03-21T02:57:46Z")

</div>

C:\Elasticsearch-8.0.1\config\jvm.options but there is no such file in my directory previously like one month ago i used this ,presently i am using 7.3.2 elastic  
i have shifted to 7.3.2 because have faced issues with 8.0.1  
i reinstalled java so that jvm can be refreshed one even though the error is same

---

<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: [April 18, 2022, 2:58am UTC](https://discuss.elastic.co/t/can-any-one-help-me-with-this-exception/300101/4 "2022-04-18T02:58:32Z")

</div>

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