> *Never mind, I just had to import more jars from /lib.*
>

You can import all jars from /*some_base_path*/lib (for example) by adding 
a /* to the end of the path, and then add that to the -cp / -classpathoption's 
value, separating multiple paths with semicolons. That single 
* (and *not* *.jar)  is a shorthand to Java to include all jar files in the 
directory. So you do not need to add them one-by-one and never again worry 
when a future version of ES adds new jar files or renames existing jar 
files. In fact, I've only discovered new jar files in ES versions when I 
read about it on this newsgroup; that little asterisk is like magic and 
saves me from ever worrying or caring about the exact set of jar files that 
are bundled with ES.

See the *Understanding class path wildcards* section at 
http://docs.oracle.com/javase/7/docs/technotes/tools/windows/classpath.html  
for the full details.

Hope this helps!

Brian

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/8a883bcd-30e3-463d-bda8-e8f1434d14c4%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to