legacy-svn-scala/docs
dubochet 7f0b1d145a [no content change] Fixed all SVN properties: mimes, EOL, executable. Id expansion is consistently enabled for Scala/Java/C# sources in 'src/' and consistently disabled and removed from everywhere else: there should not be any dead Id tags anymore.
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@18773 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2009-09-24 13:09:40 +00:00
..
android-examples [no content change] Fixed all SVN properties: mimes, EOL, executable. Id expansion is consistently enabled for Scala/Java/C# sources in 'src/' and consistently disabled and removed from everywhere else: there should not be any dead Id tags anymore. 2009-09-24 13:09:40 +00:00
development [no content change] Fixed all SVN properties: mimes, EOL, executable. Id expansion is consistently enabled for Scala/Java/C# sources in 'src/' and consistently disabled and removed from everywhere else: there should not be any dead Id tags anymore. 2009-09-24 13:09:40 +00:00
examples [no content change] Fixed all SVN properties: mimes, EOL, executable. Id expansion is consistently enabled for Scala/Java/C# sources in 'src/' and consistently disabled and removed from everywhere else: there should not be any dead Id tags anymore. 2009-09-24 13:09:40 +00:00
LICENSE Updated copyright notices to 2009 2009-01-09 16:52:09 +00:00
README docs update 2009-05-11 11:37:58 +00:00
TODO 'TODO' files moves to 'docs'. 2005-12-16 18:48:00 +00:00

README

Scala Software Distributions
----------------------------

- scala-<major>.<minor>.<patch>.tar.bz2     Unix distribution
- scala-<major>.<minor>.<patch>.tar.gz      Unix distribution
- scala-<major>.<minor>.<patch>.zip         Windows distribution

The standard distributions require Java 1.5 or above. If you don't
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
- scala       Scala interactive interpreter
- scalap      Scala classfile decoder 

Run the command "scalac -help" to display the list of available
compiler options.


Unix Installation
-----------------

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.

You may test the distribution by running the following commands:

$ ./bin/sbaz install scala-devel-docs
$ ./bin/scalac doc/scala-devel-docs/examples/sort.scala
$ ./bin/scala examples.sort
[6,2,8,5,1]
[1,2,5,6,8]
$ ./bin/scala
scala> examples.sort.main(null)
[6,2,8,5,1]
[1,2,5,6,8]
scala>:quit
$


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
directly accessible.

On Windows 95/98/Me, you must define the environment variable SCALA_HOME
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-<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.