Getting Clojure and Mathematica to
communicate under Windows is perhaps slightly easier to get set up than it is under Mac and Clojure; but it comes at a price. Because we can't create symbolic links, we can't use Maven to manage the JLink.jar
file. And because of that, 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 ourselves.
To prepare for this, we need to download the following resources:
The Java Development Kit (http://www.oracle.com/technetwork/java/javase/downloads/index.html)
Clojuratica (https://github.com/stuarthalloway/Clojuratica/archive/master.zip)
Apache Ant (http://ant.apache.org/bindownload.cgi)
Clojure (http://clojure.org/downloads)
Unzip each of these as subdirectories of your project directory. For example, my project directory is named clj-interop
, and it contains the subdirectories apache-ant-1.8.4...