[2024-05-24T22:37:28,865][INFO ][o.e.n.NativeAccess ] [RJS] Using [jdk] native provider and native methods for [Windows]
[2024-05-24T22:37:28,943][ERROR][o.e.b.Elasticsearch ] [RJS] fatal exception while booting Elasticsearch
java.nio.file.NoSuchFileException: E:\Java\jdk-17\lib\dt.jar
at sun.nio.fs.WindowsException.translateToIOException(WindowsException.java:85) ~[?:?]
at sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:103) ~[?:?]
at sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:108) ~[?:?]
at sun.nio.fs.WindowsFileAttributeViews$Basic.readAttributes(WindowsFileAttributeViews.java:53) ~[?:?]
at sun.nio.fs.WindowsFileAttributeViews$Basic.readAttributes(WindowsFileAttributeViews.java:38) ~[?:?]
at sun.nio.fs.WindowsFileSystemProvider.readAttributes(WindowsFileSystemProvider.java:197) ~[?:?]
at java.nio.file.Files.readAttributes(Files.java:1853) ~[?:?]
at java.util.zip.ZipFile$Source.get(ZipFile.java:1445) ~[?:?]
at java.util.zip.ZipFile$CleanableResource.(ZipFile.java:724) ~[?:?]
at java.util.zip.ZipFile.(ZipFile.java:251) ~[?:?]
at java.util.zip.ZipFile.(ZipFile.java:180) ~[?:?]
at java.util.jar.JarFile.(JarFile.java:345) ~[?:?]
at java.util.jar.JarFile.(JarFile.java:316) ~[?:?]
at java.util.jar.JarFile.(JarFile.java:255) ~[?:?]
at org.elasticsearch.jdk.JarHell.checkJarHell(JarHell.java:221) ~[elasticsearch-core-8.13.4.jar:?]
at org.elasticsearch.jdk.JarHell.checkJarHell(JarHell.java:84) ~[elasticsearch-core-8.13.4.jar:?]
at org.elasticsearch.bootstrap.Elasticsearch.initPhase2(Elasticsearch.java:182) ~[elasticsearch-8.13.4.jar:?]
at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:73) ~[elasticsearch-8.13.4.jar:?]
[2024-05-24T22:37:52,613][INFO ][o.e.n.NativeAccess ] [RJS] Using [jdk] native provider and native methods for [Windows]
[2024-05-24T22:37:52,726][ERROR][o.e.b.Elasticsearch ] [RJS] fatal exception while booting Elasticsearch
java.nio.file.NoSuchFileException: E:\Java\jdk-17\lib\dt.jar
at sun.nio.fs.WindowsException.translateToIOException(WindowsException.java:85) ~[?:?]
at sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:103) ~[?:?]
at sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:108) ~[?:?]
at sun.nio.fs.WindowsFileAttributeViews$Basic.readAttributes(WindowsFileAttributeViews.java:53) ~[?:?]
at sun.nio.fs.WindowsFileAttributeViews$Basic.readAttributes(WindowsFileAttributeViews.java:38) ~[?:?]
at sun.nio.fs.WindowsFileSystemProvider.readAttributes(WindowsFileSystemProvider.java:197) ~[?:?]
at java.nio.file.Files.readAttributes(Files.java:1853) ~[?:?]
at java.util.zip.ZipFile$Source.get(ZipFile.java:1445) ~[?:?]
at java.util.zip.ZipFile$CleanableResource.(ZipFile.java:724) ~[?:?]
at java.util.zip.ZipFile.(ZipFile.java:251) ~[?:?]
at java.util.zip.ZipFile.(ZipFile.java:180) ~[?:?]
at java.util.jar.JarFile.(JarFile.java:345) ~[?:?]
at java.util.jar.JarFile.(JarFile.java:316) ~[?:?]
at java.util.jar.JarFile.(JarFile.java:255) ~[?:?]
at org.elasticsearch.jdk.JarHell.checkJarHell(JarHell.java:221) ~[elasticsearch-core-8.13.4.jar:?]
at org.elasticsearch.jdk.JarHell.checkJarHell(JarHell.java:84) ~[elasticsearch-core-8.13.4.jar:?]
at org.elasticsearch.bootstrap.Elasticsearch.initPhase2(Elasticsearch.java:182) ~[elasticsearch-8.13.4.jar:?]
at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:73) ~[elasticsearch-8.13.4.jar:?]
Welcome to the community!
The most likely you don't have the dt.jar file. Please check does it exist and have you extracted ES package correctly.
Hi @rjs520 Welcome to the community.
Just posting an error Trace is not enough If you like help, you need to provide much more information.
Like, what version are you installing? Which OS are you on? Which command are you running? What step are you on ? What are you trying to accomplish? What configurations did you change? If you'd like help.
But in short it looks like it's trying to access not the bundled jdk and whatever it's looking for is not there. Just like the error says file not found
Firstly, I'm no Java guy but the third line looks to me like you don't have the correct version of Java installed, since a file in the Java directory is reported missing. You need to go back to the Java installation and do it again or find a new one.
[2024-05-24T22:37:28,865][INFO ][o.e.n.NativeAccess ] [RJS] Using [jdk] native provider and native methods for [Windows]
[2024-05-24T22:37:28,943][ERROR][o.e.b.Elasticsearch ] [RJS] fatal exception while booting Elasticsearch
java.nio.file.NoSuchFileException: E:\Java\jdk-17\lib\dt.jar
Secondly a clearer title is helpful and it would be appreciated if you supplied more information about your system and how you're attempting to start it.
To get started quickly you can use a docker image instead of installing locally which I think you're currently doing.
Good luck