# Getting an error of ES\_CLASSPATH not found

**URL:** https://discuss.elastic.co/t/getting-an-error-of-es-classpath-not-found/5533
**Category:** Elasticsearch
**Created:** [October 6, 2011, 8:35pm UTC](https://discuss.elastic.co/t/getting-an-error-of-es-classpath-not-found/5533 "2011-10-06T20:35:12Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![redCashion](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/redcashion/32/2895_2.png) [@redCashion](https://discuss.elastic.co/u/redCashion)
#### Post date: [October 6, 2011, 8:35pm UTC](https://discuss.elastic.co/t/getting-an-error-of-es-classpath-not-found/5533/1 "2011-10-06T20:35:12Z")

</div>

I'm trying to run elasticsearch but am getting the error "You must set the ES\_CLASSPATH var". I think this is related to my java configuration or installation, but I can't figure out what is wrong. Any help would be greatly appreciated!!

---

<div class="post-metadata">

### Author: ![Karussell1](https://avatars.discourse-cdn.com/v4/letter/k/50afbb/32.png) [@Karussell1](https://discuss.elastic.co/u/Karussell1)
#### Post date: [October 7, 2011, 5:09pm UTC](https://discuss.elastic.co/t/getting-an-error-of-es-classpath-not-found/5533/2 "2011-10-07T17:09:48Z")

</div>

what does 'java -version' print?

what is the full error message?

On Oct 6, 10:35 pm, redCashion [xpe...@gmail.com](mailto:xpe...@gmail.com) wrote:

> I'm trying to run elasticsearch but am getting the error "You must set the  
> ES\_CLASSPATH var". I think this is related to my java configuration or  
> installation, but I can't figure out what is wrong. Any help would be  
> greatly appreciated!!
> 
> --  
> View this message in context:[http://elasticsearch-users.115913.n3.nabble.com/Getting-an-error-of-E](http://elasticsearch-users.115913.n3.nabble.com/Getting-an-error-of-E)...  
> Sent from the Elasticsearch Users mailing list archive at [Nabble.com](http://Nabble.com).

---

<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, 3:52am UTC](https://discuss.elastic.co/t/getting-an-error-of-es-classpath-not-found/5533/3 "2017-07-06T03:52:37Z")

</div>


