Database Reference
In-Depth Information
Appendix B. Setting up and running the sample code
All of the source code used in the topic is available for download from www.manning.com/
Neo4jinAction as well as at https://github.com/opencredo/neo4j-in-action .
All of the code and demos use Java so you'll need to have an appropriate version of Java
installed.Additionally,weuseMavenastheprimaryframeworkforprovidingtheautomatic
building, compiling, and running of the code.
JUnit-basedtestshaveprimarilybeenusedtodemonstratefeaturesinthebook,butthereare
some standalone classes as well (which are not run as part of the test suite) that can also be
executed to view their results.
This appendix provides the instructions required to set up your system to run the examples
and associated source code.
B.1. Setting up your environment
This section describes how to prepare your machine for running the associated samples and
demo code.
Download the sample code
Download and unpack the sample code into a directory that we'll refer to as
N4JIA_SAMPLE_HOME. The source code is provided in zip format and can be down-
loaded from www.manning.com/Neo4jinAction . Alternatively youcan simply clone the git-
hub repository available at https://github.com/opencredo/neo4j-in-action .
Install JDK (Oracle SE 7)
Neo4jrequiresJava7astheminimumJDK(JavaDevelopmentKit)torunandhasofficially
been tested against Java 7. For those wishing to try it out with Java 8, though in theory you
can give it a bash, there are no guarantees at this stage and so we recommend you stick with
 
Search WWH ::




Custom Search