summaryrefslogtreecommitdiff
path: root/docs/README
diff options
context:
space:
mode:
Diffstat (limited to 'docs/README')
-rw-r--r--docs/README17
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.