Last active
February 25, 2016 23:04
-
-
Save anaray/3982410e710d488401a5 to your computer and use it in GitHub Desktop.
simple way to include all the jars in classpath - bash
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
java -cp .:$(echo /opt/hadoop/lib/*.jar | tr ' ' ':'):$(echo /opt/hbase/lib/*.jar | tr ' ' ':') ArticleIndex |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Here I had to all hadoop & hbase jars to my classpath