Compiling and Running AsyncHBase Applications
When you compile or run AsyncHBase applications, you need to include the required AsyncHBase libraries.
- To compile the application:
 - 
               
javac -cp `asynchbase classpath`:$APP_CLASSPATH <ProgramName> - To run the application, use one of the following commands:
 - 
               
- 
                     
java -cp `asynchbase classpath`:$APP_CLASSPATH <ProgramName> - 
                     
asynchbase $APP_CLASSPATH <ProgramName> 
 - 
                     
 - To include the AsyncHBase library in your maven project:
 - 
               
- Add MapR's maven repository to the list of repositories in your project's
                     pom.xml:
<repository> <id>mapr-releases</id> <url>https://repository.mapr.com/maven/</url> <snapshots><enabled>true</enabled></snapshots> <releases><enabled>true</enabled></releases> </repository> - Add the following dependency to the list of
                        dependencies:
<dependency> <groupId>org.hbase</groupId> <artifactId>asynchbase</artifactId> <version><AsyncHBaseVersion>-mapr-<MapREcoVersion></version> </dependency>NOTEFor example, if you are using AsyncHBase 1.7-1603, configure the following for the version dependency:<version>1.7.0-mapr-1603</version> 
 - Add MapR's maven repository to the list of repositories in your project's
                     pom.xml: