Database Reference
In-Depth Information
How it works…
This is fairly typical in order to set up a rough-around-the-edges complex computer system.
There are lots of things that might vary from computer to computer and lots of things that
could go wrong. Just have patience and grab some coffee. The Mathematica Stack Exchange
is an excellent resource for problems ( http://mathematica.stackexchange.com/ ).
One thing that I would like to point out is the last line from the inal code block:
(def-math-macro math math-evaluate)
This deines a macro, which we've named math , that has to wrap every call to Mathematica.
We'll see examples of this in all of the following recipes that use Mathematica.
There's more…
I originally got the steps for this from a blog post by David Cabana ( http://drcabana.
org/2012/10/23/installation-and-configuration-of-clojuratica/ ) . Although,
in the end, I had to do a few things in a slightly different manner, this was my original source.
If the steps I have outlined here don't work for you, you might want to refer to this.
Also, as I previously mentioned, Mathematica is a good resource if you run into issues
( http://mathematica.stackexchange.com/ ) .
Setting up Mathematica to talk to
Clojuratica for Windows
Getting Clojure and Mathematica to communicate under Windows is perhaps slightly easier
to set up than it is under Mac and Clojure, but this comes at a price. Because we can't create
symbolic links, we can't use Maven to manage the JLink.jar ile. Because of this, we can't
use Leiningen to manage our project and its dependencies. Instead, we'll need to download
everything and manage the dependencies and classpath on our own.
Getting ready
To prepare for this, we need to download a number of resources, as follows:
F The Java Development Kit ( http://www.oracle.com/technetwork/java/
javase/downloads/index.html )
F Clojuratica ( https://github.com/stuarthalloway/Clojuratica/archive/
master.zip )
 
Search WWH ::




Custom Search