Yes, currently anyone wanting to run LT on Win8 is advised to do the following (worked for me in this exact order anyway).
- Download LT, unpack and move it to desired location.
- When starting it, press
Ctrl-Space
and type InstaRepl
to open a new InstaRepl tab.
- follow the dialog window URI pointing to the Oracle JDK/JRE download for Windows x86_64 (or 32bit I think is available too) at the bottom of the list.
- Install the JDK and JRE in a location without spaces in the path (like C:\java)
- Open configuration and change (system) environment variable for PATH: add "C:\java\bin;..." where the semicolon is the separator for paths (colons : in *nix)
- Download Leiningen for Windows from http://leiningen-win-installer.djpowell.net/
- It will add its own path to the User Env Vars PATH - I installed it under
C:\.lein
- It will fire up a
cmd
window and you will be able to effectively use both java
and lein repl
commands to demonstrate it being operable.
- Finally open LightTable and
Ctrl+Space
then open "Instarepl" and you are ready to go
I had to install en reinstall, reboot a few times because I had fixed the JDK path to match any with no spaces in it, then the leiningen install already referenced it so I had to reinstall that as well so keep in mind the order of these steps matters atm.
Additionally, don't forget to install Maven (binary zip will do) and extract it to any convenient location. I have it in my extra disk under folder "Portable" where also LT resides so G:\Portable\Maven
in my case. You should add this path e.g. G:\Portable\Maven\bin
to the system environment variables PATH as well so any CLI tools (cmd, PS, LT) may use Maven to pull in software packages.
Finally you should add JAVA_HOME
to your environment variables (only the root folder) e.g. C:\java
so that the mvn
command can use it freely from anywhere.
One thing I've found myself doing either on Linux or Windows LT is to go to the LT folder clojure plugins folder e.g. G:\Portable\LightTable\plugins\clojure
and open up the projects.clj
file to add a single additional :dependencies
item for [alembic "LATEST"]
. Then, while in that exact folder, do a quick lein deps
to pull in the dependencies and you can freely use (require '[alembic.still :refer (distill)])
and then (distill '[some-package 1.2.3])
to readily grab any other published packages you desire without leaving the InstaRepl. Pwnage to download, install, classpath and reload the project in one go, the distill
function takes any number of quoted vectors just like require so you can add this to the User: behaviors
as a :lt.plugins.clojure.instarepl/start-content
tag and then do a Ctrl-r
user keybinding to open a new instarepl tab and immediately have it available to pull in anything you desire.
Perhaps a little elaborate explanation but I've found this workflow to be very suitable for any type of project RAD I wish to do.