Skip to content

Instantly share code, notes, and snippets.

@anaray
Last active February 25, 2016 23:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anaray/3982410e710d488401a5 to your computer and use it in GitHub Desktop.
Save anaray/3982410e710d488401a5 to your computer and use it in GitHub Desktop.
simple way to include all the jars in classpath - bash
java -cp .:$(echo /opt/hadoop/lib/*.jar | tr ' ' ':'):$(echo /opt/hbase/lib/*.jar | tr ' ' ':') ArticleIndex
@anaray
Copy link
Author

anaray commented Feb 25, 2016

Here I had to all hadoop & hbase jars to my classpath

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment