# Java error "An illegal reflective access operation has occurred"

**URL:** <https://forum.opensearch.org/t/java-error-an-illegal-reflective-access-operation-has-occurred/504>\
**Category:** General Feedback\
**Created:** [April 24, 2019, 1:54pm UTC](https://forum.opensearch.org/t/java-error-an-illegal-reflective-access-operation-has-occurred/504 "2019-04-24T13:54:14Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Martin](https://avatars.discourse-cdn.com/v4/letter/m/73ab20/32.png) [@Martin](https://forum.opensearch.org/u/Martin)\
**Post date:** [April 24, 2019, 1:54pm UTC](https://forum.opensearch.org/t/java-error-an-illegal-reflective-access-operation-has-occurred/504/1 "2019-04-24T13:54:14Z")

</div>

Hello,

I tested the new Debian package of opendistroforelasticsearch version 0.8.0. The Elasticsearch node comes up after installation but I can see the following warnings in the output:  
Apr 24 13:39:48 opendistro-test-all-fra11-1 systemd[1]: Started Elasticsearch.  
Apr 24 13:39:48 opendistro-test-all-fra11-1 elasticsearch[10291]: OpenJDK 64-Bit Server VM warning: Option UseConcMarkSweepGC was deprecated in version 9.0 and will likely b  
Apr 24 13:40:00 opendistro-test-all-fra11-1 elasticsearch[10291]: WARNING: An illegal reflective access operation has occurred  
Apr 24 13:40:00 opendistro-test-all-fra11-1 elasticsearch[10291]: WARNING: Illegal reflective access by com.amazon.opendistro.elasticsearch.performanceanalyzer.collectors.Ma  
Apr 24 13:40:00 opendistro-test-all-fra11-1 elasticsearch[10291]: WARNING: Please consider reporting this to the maintainers of com.amazon.opendistro.elasticsearch.performan  
Apr 24 13:40:00 opendistro-test-all-fra11-1 elasticsearch[10291]: WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations  
Apr 24 13:40:00 opendistro-test-all-fra11-1 elasticsearch[10291]: WARNING: All illegal access operations will be denied in a future release

Java version:  
openjdk version “11.0.2” 2019-01-15  
OpenJDK Runtime Environment (build 11.0.2+9-Ubuntu-3ubuntu118.04.3)  
OpenJDK 64-Bit Server VM (build 11.0.2+9-Ubuntu-3ubuntu118.04.3, mixed mode, sharing)

Any comments?

Greetings,

Martin

---

<div class="post-metadata">

**Author:** ![veraksa](https://avatars.discourse-cdn.com/v4/letter/v/f475e1/32.png) [@veraksa](https://forum.opensearch.org/u/veraksa)\
**Post date:** [July 24, 2019, 11:33am UTC](https://forum.opensearch.org/t/java-error-an-illegal-reflective-access-operation-has-occurred/504/2 "2019-07-24T11:33:41Z")

</div>

I have the exact same situation.

---

<div class="post-metadata">

**Author:** ![aetter](https://avatars.discourse-cdn.com/v4/letter/a/e95f7d/32.png) [@aetter](https://forum.opensearch.org/u/aetter)\
**Post date:** [August 8, 2019, 5:29pm UTC](https://forum.opensearch.org/t/java-error-an-illegal-reflective-access-operation-has-occurred/504/3 "2019-08-08T17:29:12Z")

</div>

Hi all, looks like this is a known issue that shouldn’t cause problems: [illegal reflective access · Issue #21 · opendistro-for-elasticsearch/performance-analyzer · GitHub](https://github.com/opendistro-for-elasticsearch/performance-analyzer/issues/21)
