# Install/Uninstall issues with ElasticSearch - unable to startup

**URL:** <https://discuss.elastic.co/t/install-uninstall-issues-with-elasticsearch-unable-to-startup/14010>\
**Category:** Elasticsearch\
**Created:** [October 18, 2013, 10:33am UTC](https://discuss.elastic.co/t/install-uninstall-issues-with-elasticsearch-unable-to-startup/14010 "2013-10-18T10:33:43Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Stephanie\_Lew](https://avatars.discourse-cdn.com/v4/letter/s/cc9497/32.png) [@Stephanie\_Lew](https://discuss.elastic.co/u/Stephanie_Lew)\
**Post date:** [October 18, 2013, 10:33am UTC](https://discuss.elastic.co/t/install-uninstall-issues-with-elasticsearch-unable-to-startup/14010/1 "2013-10-18T10:33:43Z")

</div>

Hi,

Hope you can help!

I am not able to startup the ES in the terminal. Previously installed ES  
and was working fine. However, it cannot start up now. Here's the error  
returned:

Stephanies-MacBook-Pro:elasticsearch stephanielew$ bin/elasticsearch -f  
Exception in thread "main" java.lang.NoClassDefFoundError: Could not  
initialize class org.elasticsearch.Version  
at  
org.elasticsearch.bootstrap.Bootstrap.buildErrorMessage(Bootstrap.java:252)  
at org.elasticsearch.bootstrap.Bootstrap.main(Bootstrap.java:236)  
at org.elasticsearch.bootstrap.ElasticSearch.main(ElasticSearch.java:32)

- Am using MacBook OS Version 10.8.5.
- Java Version 1.6.0\_65

Previous actions:

- Was using ES Java Api in Maven web project in Netbeans. It was able to  
connect to ES server automatically via Apache Tomcat when the web  
application was run. However, after installing some external jars the ES  
server did not start up.
- Also, tried to run ES in the terminal separately, but it still could not  
start up.

Despite several attempts to delete some old directories and installing the  
latest version, the above error was returned.

Is there some permanent system/environment variables that should be changed  
in my computer configurations? Or how can i cleanly remove all  
elasticsearch related folders? Any uninstall command?

--  
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:** ![Clinton\_Gormley](https://avatars.discourse-cdn.com/v4/letter/c/50afbb/32.png) [@Clinton\_Gormley](https://discuss.elastic.co/u/Clinton_Gormley)\
**Post date:** [October 18, 2013, 12:35pm UTC](https://discuss.elastic.co/t/install-uninstall-issues-with-elasticsearch-unable-to-startup/14010/2 "2013-10-18T12:35:52Z")

</div>

Sounds like you're trying to start it from the cloned git repo, rather than  
first building it.

See the README for details of how to build it

clint

On 18 October 2013 12:33, Stephanie Lew [steph.lewyh@gmail.com](mailto:steph.lewyh@gmail.com) wrote:

> Hi,
> 
> Hope you can help!
> 
> I am not able to startup the ES in the terminal. Previously installed ES  
> and was working fine. However, it cannot start up now. Here's the error  
> returned:
> 
> Stephanies-MacBook-Pro:elasticsearch stephanielew$ bin/elasticsearch -f  
> Exception in thread "main" java.lang.NoClassDefFoundError: Could not  
> initialize class org.elasticsearch.Version  
> at  
> org.elasticsearch.bootstrap.Bootstrap.buildErrorMessage(Bootstrap.java:252)  
> at org.elasticsearch.bootstrap.Bootstrap.main(Bootstrap.java:236)  
> at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:32)
> 
> - Am using MacBook OS Version 10.8.5.
> - Java Version 1.6.0\_65
> 
> Previous actions:
> 
> - Was using ES Java Api in Maven web project in Netbeans. It was able to  
> connect to ES server automatically via Apache Tomcat when the web  
> application was run. However, after installing some external jars the ES  
> server did not start up.
> - Also, tried to run ES in the terminal separately, but it still could not  
> start up.
> 
> Despite several attempts to delete some old directories and installing the  
> latest version, the above error was returned.
> 
> Is there some permanent system/environment variables that should be  
> changed in my computer configurations? Or how can i cleanly remove all  
> elasticsearch related folders? Any uninstall command?
> 
> --  
> 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:** ![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:** [October 18, 2013, 1:24pm UTC](https://discuss.elastic.co/t/install-uninstall-issues-with-elasticsearch-unable-to-startup/14010/3 "2013-10-18T13:24:28Z")

</div>

Yes. Or download a full packaged version from [Elasticsearch Platform — Find real-time answers at scale | Elastic](http://www.elasticsearch.org/download/)

--  
David Pilato | Technical Advocate | [Elasticsearch.com](http://Elasticsearch.com)  
@dadoonet | @elasticsearchfr | @scrutmydocs

Le 18 oct. 2013 à 14:35, Clinton Gormley [clint@traveljury.com](mailto:clint@traveljury.com) a écrit :

> Sounds like you're trying to start it from the cloned git repo, rather than first building it.
> 
> See the README for details of how to build it
> 
> clint
> 
> On 18 October 2013 12:33, Stephanie Lew [steph.lewyh@gmail.com](mailto:steph.lewyh@gmail.com) wrote:  
> Hi,
> 
> Hope you can help!
> 
> I am not able to startup the ES in the terminal. Previously installed ES and was working fine. However, it cannot start up now. Here's the error returned:
> 
> Stephanies-MacBook-Pro:elasticsearch stephanielew$ bin/elasticsearch -f  
> Exception in thread "main" java.lang.NoClassDefFoundError: Could not initialize class org.elasticsearch.Version  
> at org.elasticsearch.bootstrap.Bootstrap.buildErrorMessage(Bootstrap.java:252)  
> at org.elasticsearch.bootstrap.Bootstrap.main(Bootstrap.java:236)  
> at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:32)
> 
> - Am using MacBook OS Version 10.8.5.
> - Java Version 1.6.0\_65
> 
> Previous actions:
> 
> - Was using ES Java Api in Maven web project in Netbeans. It was able to connect to ES server automatically via Apache Tomcat when the web application was run. However, after installing some external jars the ES server did not start up.
> - Also, tried to run ES in the terminal separately, but it still could not start up.
> 
> Despite several attempts to delete some old directories and installing the latest version, the above error was returned.
> 
> Is there some permanent system/environment variables that should be changed in my computer configurations? Or how can i cleanly remove all elasticsearch related folders? Any uninstall command?
> 
> --  
> 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).

--  
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/install-uninstall-issues-with-elasticsearch-unable-to-startup/14010/4 "2017-07-06T02:11:44Z")

</div>


