# How to get a partiuclar version of ES code to compile myself?

**URL:** https://discuss.elastic.co/t/how-to-get-a-partiuclar-version-of-es-code-to-compile-myself/13974
**Category:** Elasticsearch
**Created:** [October 16, 2013, 5:39pm UTC](https://discuss.elastic.co/t/how-to-get-a-partiuclar-version-of-es-code-to-compile-myself/13974 "2013-10-16T17:39:35Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![Dennis](https://avatars.discourse-cdn.com/v4/letter/d/e56c9b/32.png) [@Dennis](https://discuss.elastic.co/u/Dennis)
#### Post date: [October 16, 2013, 5:39pm UTC](https://discuss.elastic.co/t/how-to-get-a-partiuclar-version-of-es-code-to-compile-myself/13974/1 "2013-10-16T17:39:35Z")

</div>

I'd like to compile the latest release, not the head. So how can  
clone/download 0,95?

I want to try it with Java 7. Oracle just announced a LOT of fixes for the  
various versions but somewhere in the article is a statement that Java6 is  
no longer being supported. And ES is compiled using 6 and won't run on 7.  
Time to compile it myself.

> **[Oracle Issues Massive Security Patch For Java, Databases](http://www.darkreading.com/risk-management/oracle-issues-massive-security-patch-for-java-databases/d/d-id/1111956?cid=nl_iwk_daily_240162695)**
>
> Oracle's quarterly update includes 127 security patches, including fixes for remotely exploitable Java flaws.

--  
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).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

### Author: ![nik9000](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nik9000/32/44947_2.png) [@nik9000](https://discuss.elastic.co/u/nik9000)
#### Post date: [October 16, 2013, 5:42pm UTC](https://discuss.elastic.co/t/how-to-get-a-partiuclar-version-of-es-code-to-compile-myself/13974/2 "2013-10-16T17:42:26Z")

</div>

We run the standard distribution of Elasticsearch on Java 7. It works just  
fine.

Nik

On Wed, Oct 16, 2013 at 1:39 PM, Dennis [gearond@gmail.com](mailto:gearond@gmail.com) wrote:

> I'd like to compile the latest release, not the head. So how can  
> clone/download 0,95?
> 
> I want to try it with Java 7. Oracle just announced a LOT of fixes for the  
> various versions but somewhere in the article is a statement that Java6 is  
> no longer being supported. And ES is compiled using 6 and won't run on 7.  
> Time to compile it myself.
> 
> [http://www.informationweek.com/security/application-security/oracle-issues-massive-security-patch-for/240162695?cid=NL\_IWK\_Daily\_240162695&elq=16c78b49dc874a9397bf1ccce8fe0d61](http://www.informationweek.com/security/application-security/oracle-issues-massive-security-patch-for/240162695?cid=NL_IWK_Daily_240162695&elq=16c78b49dc874a9397bf1ccce8fe0d61)
> 
> --  
> 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).  
> For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

--  
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).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

### Author: ![Rafal\_Kuc\_3](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rafal_kuc_3/32/799_2.png) [@Rafal\_Kuc\_3](https://discuss.elastic.co/u/Rafal_Kuc_3)
#### Post date: [October 16, 2013, 5:47pm UTC](https://discuss.elastic.co/t/how-to-get-a-partiuclar-version-of-es-code-to-compile-myself/13974/3 "2013-10-16T17:47:34Z")

</div>

Hello!

You can download the version you want from the proper branch/tag on github, for example 0.90.5 - [https://github.com/elasticsearch/elasticsearch/tree/v0.90.5](https://github.com/elasticsearch/elasticsearch/tree/v0.90.5)

However, keep in mind that ElasticSearch will run properly on Java 7, apart from update 40, which was reported to cause issues with Lucene ([https://issues.apache.org/jira/browse/LUCENE-5212](http://www.gossamer-threads.com/lists/lucene/java-dev/207416)).

_--_

Regards,

Rafał Kuć

Sematext :: [http://sematext.com/](http://sematext.com/) _:: Solr - Lucene - ElasticSearch_

I'd like to compile the latest release, not the head. So how can clone/download 0,95?

I want to try it with Java 7. Oracle just announced a LOT of fixes for the various versions but somewhere in the article is a statement that Java6 is no longer being supported. And ES is compiled using 6 and won't run on 7. Time to compile it myself.

> **[Oracle Issues Massive Security Patch For Java, Databases](http://www.darkreading.com/risk-management/oracle-issues-massive-security-patch-for-java-databases/d/d-id/1111956?cid=nl_iwk_daily_240162695)**
>
> Oracle's quarterly update includes 127 security patches, including fixes for remotely exploitable Java flaws.

--

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).

For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

### Author: ![Dennis](https://avatars.discourse-cdn.com/v4/letter/d/e56c9b/32.png) [@Dennis](https://discuss.elastic.co/u/Dennis)
#### Post date: [October 22, 2013, 11:50pm UTC](https://discuss.elastic.co/t/how-to-get-a-partiuclar-version-of-es-code-to-compile-myself/13974/4 "2013-10-22T23:50:55Z")

</div>

thank you for the tip.

Now about why I needed it, I was having a trasport serialization exception  
problem.

Turned out that the designer or subsequent maintainer of my osem[http://www.compass-project.org/docs/latest/reference/html/core-osem.html](http://www.compass-project.org/docs/latest/reference/html/core-osem.html)entity store had set the server address to our QC server to allow testing  
the osem code from any machine. The reason: CloudBees DEV@cloud does not  
allow running elasticSearch on local host. So we THOUGHT that we were  
testing the new updated version of osem code against our local ES  
instances, on the same version of the JVM, mabye even the SAME JVM. We  
were not because we were using the remote ES instance.

On Wednesday, October 16, 2013 10:47:34 AM UTC-7, Rafał Kuć wrote:

> Hello!
> 
> You can download the version you want from the proper branch/tag on  
> github, for example 0.90.5 -  
> [GitHub - elastic/elasticsearch at v0.90.5](https://github.com/elasticsearch/elasticsearch/tree/v0.90.5)
> 
> However, keep in mind that Elasticsearch will run properly on Java 7,  
> apart from update 40, which was reported to cause issues with Lucene (  
> [[LUCENE-5212] java 7u40 causes sigsegv and corrupt term vectors - ASF JIRA](https://issues.apache.org/jira/browse/LUCENE-5212)[http://www.gossamer-threads.com/lists/lucene/java-dev/207416](http://www.gossamer-threads.com/lists/lucene/java-dev/207416)  
> ).
> 
> \*--  
> Regards,  
> Rafał Kuć  
> Sematext :: _[http://sematext.com/](http://sematext.com/)_ :: Solr - Lucene - Elasticsearch
> 
> - 
> 
> I'd like to compile the latest release, not the head. So how can  
> clone/download 0,95?
> 
> I want to try it with Java 7. Oracle just announced a LOT of fixes for the  
> various versions but somewhere in the article is a statement that Java6 is  
> no longer being supported. And ES is compiled using 6 and won't run on 7.  
> Time to compile it myself.
> 
> ## [http://www.informationweek.com/security/application-security/oracle-issues-massive-security-patch-for/240162695?cid=NL\_IWK\_Daily\_240162695&elq=16c78b49dc874a9397bf1ccce8fe0d61](http://www.informationweek.com/security/application-security/oracle-issues-massive-security-patch-for/240162695?cid=NL_IWK_Daily_240162695&elq=16c78b49dc874a9397bf1ccce8fe0d61)
> 
> 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:\>.  
> For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

--  
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).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<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, 2:11am UTC](https://discuss.elastic.co/t/how-to-get-a-partiuclar-version-of-es-code-to-compile-myself/13974/5 "2017-07-06T02:11:07Z")

</div>


