diff options
author | michelou <michelou@epfl.ch> | 2007-05-21 08:32:16 +0000 |
---|---|---|
committer | michelou <michelou@epfl.ch> | 2007-05-21 08:32:16 +0000 |
commit | ef2279df3d7f3cb4b120e323bc67cac8f60f3e57 (patch) | |
tree | 9c6cdfc4d72427bafc4c4f10e2a8b7bb2e31cb21 /docs/README | |
parent | 77863427aeaae8c34ae95595eafa5bf0a2d8e69a (diff) | |
download | scala-ef2279df3d7f3cb4b120e323bc67cac8f60f3e57.tar.gz scala-ef2279df3d7f3cb4b120e323bc67cac8f60f3e57.tar.bz2 scala-ef2279df3d7f3cb4b120e323bc67cac8f60f3e57.zip |
minor changes
Diffstat (limited to 'docs/README')
-rw-r--r-- | docs/README | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/docs/README b/docs/README index f239cc3395..f63f2e2fa9 100644 --- a/docs/README +++ b/docs/README @@ -13,19 +13,20 @@ know which version of Java you have, run the command "java -version". Scala Tools ----------- +- fsc Scala offline compiler - scalac Scala compiler - scaladoc Scala API documentation generator -- scalaint Scala interactive interpreter +- scala Scala interactive interpreter - scalap Scala classfile decoder Run the command "scalac -help" to display the list of available compiler options. -Install on Unix ---------------- +Unix Installation +----------------- -Untar the archive. All Scala tools are located in the directory "bin". +Untar the archive. All Scala tools are located in the "bin" directory. Adding that directory to the PATH variable will make the Scala commands directly accessible. @@ -35,7 +36,7 @@ $ ./bin/scalac share/doc/scala/examples/sort.scala $ ./bin/scala examples.sort [6,2,8,5,1] [1,2,5,6,8] -$ ./bin/scalaint +$ ./bin/scala scala> examples.sort.main(null) [6,2,8,5,1] [1,2,5,6,8] @@ -43,8 +44,8 @@ scala>:quit $ -Install on Windows ------------------- +Windows Installation +-------------------- Unzip the archive. All Scala tools are located in the "bin" directory. Adding that directory to the PATH variable will make the Scala commands @@ -55,7 +56,7 @@ to point to the home directory of the Scala distribution to run any of these tools. This can be done by adding the following command to your AUTOEXEC.BAT file and then rebooting your machine. -set SCALA_HOME=<install-directory>\scala-YYYYMMDD-hhmmss +set SCALA_HOME=<install-directory>\scala-<major>.<minor>.<patch> On Windows NT/2000/XP, you do not need to define any variable in order for the Scala commands to run correctly. |