Download and install release 11.0.1 from OpenJDK. When Java is installed you may also add need to add java to your PATH and export JAVA_HOME:
> nano ~/.bashrc
export JAVA_HOME=<JAVA_INSTALL_PATH>
export PATH=$JAVA_HOME/bin:$PATHVerify that Java is installed and working:
> javac -versionIf you are using IntelliJ for lein tasks, you will need to first add the new SDK (file->project structure/SDKs) and then set the project SDK setting (file->project structure/Project) to the new version.
Start by following the Windows instructions in Defold Readme.
-
Start
msys.batas described -
Download the lein.sh script from Leiningen.org Put it somewhere in your (msys) path - if you're lazy, put it in
C:\MinGW\msys\1.0\bin. You might need tochmod a+x lein.sh. -
Run
leinin theeditorsubdirectory This will attempt to download leiningen and dependencies to your home directory.-
If this fails with message
Could not find or load main class clojure.mainTry pointing your
HOMEenvironment variable to your “windows home”. For instance change it from/home/Erik.Angelin(msys) to/c/Users/erik.angelin:export HOME="/c/Users/erik.angelin"The problem seems to be that the (windows) java class path points to an invalid home directory.
-
If this fails because the github certificate cannot be verified:
export HTTP_CLIENT='wget --no-check-certificate -O'
-