This lab is to get familiar with commands. Your editor may have a command to run Clojure code. People may use different commands while programming. Learning commands is also a part of learning a programming language.
Open Terminal on OS X, Linux, or BSD, or open the Command Prompt on Windows (Start - Run - cmd).
Type command java -version
:
The results may vary, but the java
command should work and it should report its version.
Advice to coaches
Please check every attendee has Java installed, and check the Java version. Leiningen works on JDK 6 and later.
Try some more commands. These commands are used to explore directories on OS X, Linux, or BSD:
On Windows:
Advice to coaches
Briefly explain which commnds do what. Introduce more commands if necessary. However, this lab should not take long.