# You must set the ES\_CLASSPATH var

**URL:** https://discuss.elastic.co/t/you-must-set-the-es-classpath-var/10321
**Category:** Elasticsearch
**Created:** [January 12, 2013, 1:09pm UTC](https://discuss.elastic.co/t/you-must-set-the-es-classpath-var/10321 "2013-01-12T13:09:41Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![chachacha](https://avatars.discourse-cdn.com/v4/letter/c/898d66/32.png) [@chachacha](https://discuss.elastic.co/u/chachacha)
#### Post date: [January 12, 2013, 1:09pm UTC](https://discuss.elastic.co/t/you-must-set-the-es-classpath-var/10321/1 "2013-01-12T13:09:41Z")

</div>

Upon runnung the file elasticsearch I got the folowing error:

"You must set the ES\_CLASSPATH var"

Im running ES from file downloaded directly from github. My platform is MAC  
OS

--

---

<div class="post-metadata">

### Author: ![chachacha](https://avatars.discourse-cdn.com/v4/letter/c/898d66/32.png) [@chachacha](https://discuss.elastic.co/u/chachacha)
#### Post date: [January 12, 2013, 1:14pm UTC](https://discuss.elastic.co/t/you-must-set-the-es-classpath-var/10321/2 "2013-01-12T13:14:03Z")

</div>

some screent of the error

[https://dl.dropbox.com/u/8032222/Untitled-1.jpg](https://dl.dropbox.com/u/8032222/Untitled-1.jpg)

[https://dl.dropbox.com/u/8032222/Untitled-2.jpg](https://dl.dropbox.com/u/8032222/Untitled-2.jpg)

--

---

<div class="post-metadata">

### Author: ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)
#### Post date: [January 12, 2013, 3:33pm UTC](https://discuss.elastic.co/t/you-must-set-the-es-classpath-var/10321/3 "2013-01-12T15:33:52Z")

</div>

I just answered here:  
[Error upon opening the file elasticsearh · Issue #2541 · elastic/elasticsearch · GitHub](https://github.com/elasticsearch/elasticsearch/issues/2541#issuecomment-12177052)  
[https://github.com/elasticsearch/elasticsearch/issues/2541#issuecomment-12177052](https://github.com/elasticsearch/elasticsearch/issues/2541#issuecomment-12177052)

Le 12 janvier 2013 à 14:14, chachacha [craigcosmo@gmail.com](mailto:craigcosmo@gmail.com) a écrit :

> some screent of the error
> 
> [https://dl.dropbox.com/u/8032222/Untitled-1.jpg](https://dl.dropbox.com/u/8032222/Untitled-1.jpg)
> 
> [https://dl.dropbox.com/u/8032222/Untitled-2.jpg](https://dl.dropbox.com/u/8032222/Untitled-2.jpg)
> 
> --

--  
David Pilato  
[http://www.scrutmydocs.org/](http://www.scrutmydocs.org/)  
[http://dev.david.pilato.fr/](http://dev.david.pilato.fr/)  
Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs

--

---

<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:56am UTC](https://discuss.elastic.co/t/you-must-set-the-es-classpath-var/10321/4 "2017-07-06T02:56:48Z")

</div>


