Database Reference
In-Depth Information
Installing on Mac OS X
First, we need to make sure that we have an up-to-date installation of the Java Runtime En-
vironment. Open the Terminal application, and type the following into the command
prompt:
$ java -version
You will see an output that looks something like the following:
java version "1.8.0_25"
Java(TM) SE Runtime Environment (build 1.8.0_25-b17)
Java HotSpot(TM) 64-Bit Server VM (build 25.25-b02, mixed
mode)
Note
Pay particular attention to the java version listed: if it's lower than 1.7.0_25, you'll need to
install a new version. If you have an older version of Java or if Java isn't installed at all,
head to https://www.java.com/en/download/mac_download.jsp and follow the download
instructions on the page.
You'll need to set up your environment so that Cassandra knows where to find the latest
version of Java. To do this, set up your JAVA_HOME environment variable to the install
location, and your PATH to include the executable in your new Java installation as follows:
$ export JAVA_HOME="/Library/Internet Plug- Ins/
JavaAppletPlugin.plugin/Contents/Home"
$ export PATH="$JAVA_HOME/bin":$PATH
Tip
Downloading the example code
You can download the example code files from your account at http://www.packtpub.com
for all the Packt Publishing topics you have purchased. If you purchased this topic else-
where, you can visit http://www.packtpub.com/support and register to have the files e-
mailed directly to you.
Search WWH ::




Custom Search