Can any one help me with this exception

Exception in thread "main" java.nio.file.NoSuchFileException: C:\Elasticsearch-8.0.1\config\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(


Please format your code, logs or configuration files using </> icon as explained in this guide and not the citation button. It will make your post more readable.

Or use markdown style like:


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

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.

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

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