# Noob problem: NoClassDefFoundError

**URL:** <https://discuss.elastic.co/t/noob-problem-noclassdeffounderror/3566>\
**Category:** Elasticsearch\
**Created:** [November 13, 2010, 11:41pm UTC](https://discuss.elastic.co/t/noob-problem-noclassdeffounderror/3566 "2010-11-13T23:41:21Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![timscott](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/timscott/32/3220_2.png) [@timscott](https://discuss.elastic.co/u/timscott)\
**Post date:** [November 13, 2010, 11:41pm UTC](https://discuss.elastic.co/t/noob-problem-noclassdeffounderror/3566/1 "2010-11-13T23:41:21Z")

</div>

I am a newbie to ElasticSearch and Linux. I got it running on my Mac  
with no problem by following the simple installation instructions. I  
just installed Linux Mint on a spare box, and I'm trying to get it  
running there. I followed the exact same procedure on my Mac, but I  
get an exception:

Exception in thread "main" java.lang.NoClassDefFoundError: org/  
elasticsearch/bootstrap/Bootstrap  
Caused by: java.lang.ClassNotFoundException:  
org.elasticsearch.bootstrap.Bootstrap  
at java.net.URLClassLoader$1.run(URLClassLoader.java:202)  
at java.security.AccessController.doPrivileged(Native Method)  
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)  
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)  
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)  
at java.lang.ClassLoader.loadClass(ClassLoader.java:248)  
Could not find the main class: org.elasticsearch.bootstrap.Bootstrap.  
Program will exit.

I Googled this error and found some stuff about CLASSPATH. I hacked  
around without luck. Being a .NET guy and Linux/Java dummy. I  
probably don't quite get the concept of CLASSPATH.

By the way, I don't know the proper place to put the install. I put  
it under my user folder (where Downloads and Documents are). This is  
where I put it on my Mac, so maybe that's fine.

Any help is appreciated.

---

<div class="post-metadata">

**Author:** ![timscott](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/timscott/32/3220_2.png) [@timscott](https://discuss.elastic.co/u/timscott)\
**Post date:** [November 13, 2010, 11:51pm UTC](https://discuss.elastic.co/t/noob-problem-noclassdeffounderror/3566/2 "2010-11-13T23:51:13Z")

</div>

The problem is not that I'm a noob, but that I am an idiot. I chose  
the wrong download. Never mind.

On Nov 13, 5:41 pm, Tim Scott [tsc...@lunaversesoftware.com](mailto:tsc...@lunaversesoftware.com) wrote:

> I am a newbie to Elasticsearch and Linux. I got it running on my Mac  
> with no problem by following the simple installation instructions. I  
> just installed Linux Mint on a spare box, and I'm trying to get it  
> running there. I followed the exact same procedure on my Mac, but I  
> get an exception:
> 
> Exception in thread "main" java.lang.NoClassDefFoundError: org/  
> elasticsearch/bootstrap/Bootstrap  
> Caused by: java.lang.ClassNotFoundException:  
> org.elasticsearch.bootstrap.Bootstrap  
> at java.net.URLClassLoader$1.run(URLClassLoader.java:202)  
> at java.security.AccessController.doPrivileged(Native Method)  
> at java.net.URLClassLoader.findClass(URLClassLoader.java:190)  
> at java.lang.ClassLoader.loadClass(ClassLoader.java:307)  
> at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)  
> at java.lang.ClassLoader.loadClass(ClassLoader.java:248)  
> Could not find the main class: org.elasticsearch.bootstrap.Bootstrap.  
> Program will exit.
> 
> I Googled this error and found some stuff about CLASSPATH. I hacked  
> around without luck. Being a .NET guy and Linux/Java dummy. I  
> probably don't quite get the concept of CLASSPATH.
> 
> By the way, I don't know the proper place to put the install. I put  
> it under my user folder (where Downloads and Documents are). This is  
> where I put it on my Mac, so maybe that's fine.
> 
> Any help is appreciated.

---

<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, 4:16am UTC](https://discuss.elastic.co/t/noob-problem-noclassdeffounderror/3566/3 "2017-07-06T04:16:33Z")

</div>


