# Elasticsearch

**URL:** <https://discuss.elastic.co/t/elasticsearch/371275>\
**Category:** Elasticsearch\
**Tags:** elastic-stack-monitoring, elastic-stack-security, runtime-fields\
**Created:** [December 1, 2024, 11:11am UTC](https://discuss.elastic.co/t/elasticsearch/371275 "2024-12-01T11:11:29Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![SalehEska](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/saleheska/32/121805_2.png) [@SalehEska](https://discuss.elastic.co/u/SalehEska)\
**Post date:** [December 1, 2024, 11:11am UTC](https://discuss.elastic.co/t/elasticsearch/371275/1 "2024-12-01T11:11:29Z")

</div>

I have installed Elasticsearch version 8.16 with JDK 17, but I have encountered an error and I'm stuck on it:

# 

# A fatal error has been detected by the Java Runtime Environment:

# 

# EXCEPTION\_ACCESS\_VIOLATION (0xc0000005) at pc=0x000002c55fc5aaa1, pid=2344, tid=7976

# 

# JRE version: Java(TM) SE Runtime Environment (17.0.12+8) (build 17.0.12+8-LTS-286)

# Java VM: Java HotSpot(TM) 64-Bit Server VM (17.0.12+8-LTS-286, mixed mode, sharing, tiered, compressed oops, compressed class ptrs, g1 gc, windows-amd64)

# Problematic frame:

# J 5866 c2 java.lang.String.compareTo(Ljava/lang/Object;)I java.base@17.0.12 (9 bytes) @ 0x000002c55fc5aaa1 [0x000002c55fc5a9a0+0x0000000000000101]

# 

# Core dump will be written. Default location: E:\ELK\elasticsearch-8.16.1\hs\_err\_pid2344.mdmp

# 

# An error report file with more information is saved as:

# logs/hs\_err\_pid2344.log

# 

# If you would like to submit a bug report, please visit:

# [Crash Report](https://bugreport.java.com/bugreport/crash.jsp)

# 

ERROR: Elasticsearch exited unexpectedly, with exit code 1  
'%\*' is not recognized as an internal or external command,  
operable program or batch file.  
|| was unexpected at this time.

note: when i install elastic in my machine it works fine , but in the server , the error accure When I install Elastic on my machine, it works fine, but an error occurs on the server.

---

<div class="post-metadata">

**Author:** ![stephenb](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/stephenb/32/40856_2.png) [@stephenb](https://discuss.elastic.co/u/stephenb)\
**Post date:** [December 1, 2024, 2:30pm UTC](https://discuss.elastic.co/t/elasticsearch/371275/2 "2024-12-01T14:30:02Z")

</div>

Closed duplicate of

> [@EXCEPTION\_ACCESS\_VIOLATION in Elasticsearch 8.16.1 Running on Java 17](https://discuss.elastic.co/t/exception-access-violation-in-elasticsearch-8-16-1-running-on-java-17/371277):
>
> Error Summary: I'm encountering a fatal error when running Elasticsearch 8.16.1 on Windows Server 2016. The process crashes with an access violation. Below are the details: System Configuration: -OS: Windows Server 2016 (64-bit), Build 14393. -JVM: Java(TM) SE Runtime Environment (17.0.12+8). -Memory: 32GB physical memory, 16GB heap size (-Xms16383m, -Xmx16383m). Elasticsearch Version\*\*: 8.16.1. Error Details: EXCEPTION\_ACCESS\_VIOLATION (0xc0000005) at pc=0x000002c55fc5aaa1 Problematic f…

---

<div class="post-metadata">

**Author:** ![stephenb](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/stephenb/32/40856_2.png) [@stephenb](https://discuss.elastic.co/u/stephenb)\
**Post date:** [December 1, 2024, 2:30pm UTC](https://discuss.elastic.co/t/elasticsearch/371275/3 "2024-12-01T14:30:08Z")

</div>


