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.
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.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.