Installation
Table of Contents
In order to get you up and running for hands-on learning experience, we need to set you up with an environment for running Clojure, clj-djl, lein, the relevant libraries, and the code needed to run the book itself.
1 Installing JDK 11
JDK 11 (or above) are required to run the examples provided in this folder.
To confirm the java path is configured properly, run:
java --list-modules | grep "jdk.jshell"
> jdk.jshell@11.0.9
Otherwise, you can navigate to
https://github.com/graalvm/graalvm-ce-builds/releases and download the latest OS
specific version of JDK. For example, Windows 64bit user can download this file:
graalvm-ce-java11-windows-amd64-21.0.0.2.zip
, and extract it to some where, such
as C:\JDK
, then add C:\JDK\graalvm-ce-java11-21.0.0.2\bin
to system PATH
environment.
2 Install Clojure
clj command line tool will help you install clojure.jar automatically.
curl -O https://download.clojure.org/install/linux-install-1.10.2.774.sh chmod +x linux-install-1.10.2.774.sh sudo ./linux-install-1.10.2.774.sh
3 Install Emacs
Refer to my emacs configuration guide: http://kimi.im/kimim-emacs
4 Clone the orgmode files
git clone https://github.com/kimim/clj-d2l
cd clj-djl