# Elasticsearch crahs with Java 8

**URL:** <https://discuss.elastic.co/t/elasticsearch-crahs-with-java-8/21806>\
**Category:** Elasticsearch\
**Created:** [January 23, 2015, 8:02pm UTC](https://discuss.elastic.co/t/elasticsearch-crahs-with-java-8/21806 "2015-01-23T20:02:03Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Fabio](https://avatars.discourse-cdn.com/v4/letter/f/f4b2a3/32.png) [@Fabio](https://discuss.elastic.co/u/Fabio)\
**Post date:** [January 23, 2015, 8:02pm UTC](https://discuss.elastic.co/t/elasticsearch-crahs-with-java-8/21806/1 "2015-01-23T20:02:03Z")

</div>

I become the following message at startup of Elasticsearch :

AnnotationFormatError[Duplicate annotation for class: interface  
java.lang.Deprecated: @java.lang.Deprecated()]

with the current version :

- Version of Elasticsearch is 1.4.2

- java version "1.8.0\_25"  
Java(TM) SE Runtime Environment (build 1.8.0\_25-b18)  
Java HotSpot(TM) 64-Bit Server VM (build 25.25-b02, mixed mode)

-Windows 8  
Microsoft Windows [version 6.2.9200]

Elasticsearch runs with Java 8 64bits?

Best Regards  
Fabio

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/758524b9-8762-4957-8d39-65d3e8cde0cf%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/758524b9-8762-4957-8d39-65d3e8cde0cf%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![jprante](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jprante/32/44941_2.png) [@jprante](https://discuss.elastic.co/u/jprante)\
**Post date:** [January 23, 2015, 8:18pm UTC](https://discuss.elastic.co/t/elasticsearch-crahs-with-java-8/21806/2 "2015-01-23T20:18:01Z")

</div>

Check if you have more than one Elasticsearch jar on the classpath.  
Maybe you have installed two versions in the same folder, without removing  
the previous version?

Jörg

On Fri, Jan 23, 2015 at 9:02 PM, Fabio [fmarazzato@gmail.com](mailto:fmarazzato@gmail.com) wrote:

> I become the following message at startup of Elasticsearch :
> 
> AnnotationFormatError[Duplicate annotation for class: interface  
> java.lang.Deprecated: @java.lang.Deprecated()]
> 
> with the current version :
> 
> - Version of Elasticsearch is 1.4.2
> 
> - java version "1.8.0\_25"  
> Java(TM) SE Runtime Environment (build 1.8.0\_25-b18)  
> Java HotSpot(TM) 64-Bit Server VM (build 25.25-b02, mixed mode)
> 
> -Windows 8  
> Microsoft Windows [version 6.2.9200]
> 
> Elasticsearch runs with Java 8 64bits?
> 
> Best Regards  
> Fabio
> 
> --  
> You received this message because you are subscribed to the Google Groups  
> "elasticsearch" group.  
> To unsubscribe from this group and stop receiving emails from it, send an  
> email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
> To view this discussion on the web visit  
> [https://groups.google.com/d/msgid/elasticsearch/758524b9-8762-4957-8d39-65d3e8cde0cf%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/758524b9-8762-4957-8d39-65d3e8cde0cf%40googlegroups.com)  
> [https://groups.google.com/d/msgid/elasticsearch/758524b9-8762-4957-8d39-65d3e8cde0cf%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/758524b9-8762-4957-8d39-65d3e8cde0cf%40googlegroups.com?utm_medium=email&utm_source=footer)  
> .  
> For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/CAKdsXoFrEUKusQME5ofMCTBfy7jiQ80a9Cbgj%3DpjoAy7Swe%2BfQ%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAKdsXoFrEUKusQME5ofMCTBfy7jiQ80a9Cbgj%3DpjoAy7Swe%2BfQ%40mail.gmail.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![Fabio](https://avatars.discourse-cdn.com/v4/letter/f/f4b2a3/32.png) [@Fabio](https://discuss.elastic.co/u/Fabio)\
**Post date:** [January 24, 2015, 2:32pm UTC](https://discuss.elastic.co/t/elasticsearch-crahs-with-java-8/21806/3 "2015-01-24T14:32:41Z")

</div>

I have installed Java JDK 1.8.0\_31. Elasticsearch runs.

Thanks  
Fabio

On Friday, January 23, 2015 at 9:18:57 PM UTC+1, Jörg Prante wrote:

> Check if you have more than one Elasticsearch jar on the classpath.  
> Maybe you have installed two versions in the same folder, without removing  
> the previous version?
> 
> Jörg
> 
> On Fri, Jan 23, 2015 at 9:02 PM, Fabio \<[fmara...@gmail.com](mailto:fmara...@gmail.com) \<javascript:\>\>  
> wrote:
> 
> > I become the following message at startup of Elasticsearch :
> > 
> > AnnotationFormatError[Duplicate annotation for class: interface  
> > java.lang.Deprecated: @java.lang.Deprecated()]
> > 
> > with the current version :
> > 
> > - Version of Elasticsearch is 1.4.2
> > 
> > - java version "1.8.0\_25"  
> > Java(TM) SE Runtime Environment (build 1.8.0\_25-b18)  
> > Java HotSpot(TM) 64-Bit Server VM (build 25.25-b02, mixed mode)
> > 
> > -Windows 8  
> > Microsoft Windows [version 6.2.9200]
> > 
> > Elasticsearch runs with Java 8 64bits?
> > 
> > Best Regards  
> > Fabio
> > 
> > --  
> > You received this message because you are subscribed to the Google Groups  
> > "elasticsearch" group.  
> > To unsubscribe from this group and stop receiving emails from it, send an  
> > email to [elasticsearc...@googlegroups.com](mailto:elasticsearc...@googlegroups.com) \<javascript:\>.  
> > To view this discussion on the web visit  
> > [https://groups.google.com/d/msgid/elasticsearch/758524b9-8762-4957-8d39-65d3e8cde0cf%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/758524b9-8762-4957-8d39-65d3e8cde0cf%40googlegroups.com)  
> > [https://groups.google.com/d/msgid/elasticsearch/758524b9-8762-4957-8d39-65d3e8cde0cf%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/758524b9-8762-4957-8d39-65d3e8cde0cf%40googlegroups.com?utm_medium=email&utm_source=footer)  
> > .  
> > For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/109c8a9d-22e2-4bcd-a368-664a85eb2867%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/109c8a9d-22e2-4bcd-a368-664a85eb2867%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<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:** [July 6, 2017, 12:36am UTC](https://discuss.elastic.co/t/elasticsearch-crahs-with-java-8/21806/4 "2017-07-06T00:36:49Z")

</div>

Closed on July 6, 2017, 12:36am UTC


