# Exception when installing 1.2.2

**URL:** <https://discuss.elastic.co/t/exception-when-installing-1-2-2/18586>\
**Category:** Elasticsearch\
**Created:** [July 10, 2014, 7:55pm UTC](https://discuss.elastic.co/t/exception-when-installing-1-2-2/18586 "2014-07-10T19:55:34Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![IronMike](https://avatars.discourse-cdn.com/v4/letter/i/e9a140/32.png) [@IronMike](https://discuss.elastic.co/u/IronMike)\
**Post date:** [July 10, 2014, 7:55pm UTC](https://discuss.elastic.co/t/exception-when-installing-1-2-2/18586/1 "2014-07-10T19:55:34Z")

</div>

What does this exception mean?

java.lang.UnsupportedClassVersionError:  
org/elasticsearch/ElasticsearchException : Unsupported major.minor version  
51.0

java -version

java version "1.7.0\_11"

Java(TM) SE Runtime Environment (build 1.7.0\_11-b21)

Java HotSpot(TM) 64-Bit Server VM (build 23.6-b04, mixed mode)

--  
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/06a4c1b5-5ca5-4310-8f12-759cfe305fbb%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/06a4c1b5-5ca5-4310-8f12-759cfe305fbb%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:** [July 10, 2014, 10:05pm UTC](https://discuss.elastic.co/t/exception-when-installing-1-2-2/18586/2 "2014-07-10T22:05:36Z")

</div>

You are running another Java 6 JVM in your startup routine.

Jörg

On Thu, Jul 10, 2014 at 9:55 PM, IronMike [sabdalla80@gmail.com](mailto:sabdalla80@gmail.com) wrote:

> What does this exception mean?
> 
> java.lang.UnsupportedClassVersionError:  
> org/elasticsearch/ElasticsearchException : Unsupported major.minor version  
> 51.0
> 
> java -version
> 
> java version "1.7.0\_11"
> 
> Java(TM) SE Runtime Environment (build 1.7.0\_11-b21)
> 
> Java HotSpot(TM) 64-Bit Server VM (build 23.6-b04, mixed mode)
> 
> --  
> 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/06a4c1b5-5ca5-4310-8f12-759cfe305fbb%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/06a4c1b5-5ca5-4310-8f12-759cfe305fbb%40googlegroups.com)  
> [https://groups.google.com/d/msgid/elasticsearch/06a4c1b5-5ca5-4310-8f12-759cfe305fbb%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/06a4c1b5-5ca5-4310-8f12-759cfe305fbb%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/CAKdsXoGFZ%3Dr-K6aW3MBma1DC12tzBMx6ds7YtZUpvKx01uvg%2Bg%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAKdsXoGFZ%3Dr-K6aW3MBma1DC12tzBMx6ds7YtZUpvKx01uvg%2Bg%40mail.gmail.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, 1:16am UTC](https://discuss.elastic.co/t/exception-when-installing-1-2-2/18586/3 "2017-07-06T01:16:40Z")

</div>


