Noob problem: NoClassDefFoundError

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.

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