Setting up the environment

To get the most out of this chapter, you should prepare your development environment with the following prerequisites:

  • Java Development Kit (JDK) 1.7 for your platform, which can be obtained at http://www.oracle.com/technetwork/java/javase/downloads/jdk7-downloads-1880260.html.
  • Integrated Development Environment (IDE) or any text editor of your choice.
  • Either a local Cassandra installation, or the ability to connect to a remote cluster.
  • The DataStax native Java driver for your Cassandra version. If you're using Maven for dependency management, add the following lines of code to your pom.xml file:
    <dependency> <groupId>com.datastax.cassandra</groupId> <artifactId>cassandra-driver-core</artifactId> <version>[version_number]</version> ...

Get Cassandra High Availability now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.