This page is no longer maintained — Please continue to the home page at www.scala-lang.org

"Beta1-RC8-installer.jar" vs "Beta1-RC8.zip"

4 replies
sanjay_dasgupta
Joined: 2009-12-08,
User offline. Last seen 1 year 10 weeks ago.
The Scala installer (http://www.scala-lang.org/downloads/ ... /Beta?-RC?-installer.jar#) takes really really really long (30 minutes or more) on my computer (Windows XP SP3 with 2Gb RAM and an Intel Core2 Duo CPU T6500 @ 2.1 GHz).
So I'm wondering if just unzipping the corresponding zip file ("http://www.scala-lang.org/downloads/ ... /Beta?-RC?.zip") into the right directories and manually adjusting SCALA_HOME and PATH (if needed) is equivalent to running the installer.jar.
I can see that the "Beta?-RC?.zip" does not have all the documentation files, but I suppose those can be obtained from one of the other files ("Beta?-RC?-devel-docs.tgz" maybe ?)
Any help appreciated.
- Sanjay

Antonio Cunei
Joined: 2008-12-16,
User offline. Last seen 3 years 22 weeks ago.
Re: "Beta1-RC8-installer.jar" vs "Beta1-RC8.zip"

Hello Sanjay,

Yes, the installer takes a rather long time to complete, especially on
certain Windows configurations, as it needs to write a large number of
small files.

If you manually unpack the zip you will get all the basic tools, so that is
a quicker option. You can install the documentation files at a later time
by typing:

sbaz install scala-devel-docs

It will take a rather long time at that stage, though :) But you can always
browse the online documentation instead at:
http://www.scala-lang.org/archives/downloads/distrib/files/nightly/docs/...
Toni

Sanjay Dasgupta wrote:
> The Scala installer (http://www.scala-lang.org/downloads/ ... /
> Beta?-RC?-installer.jar#) takes really really really long (30 minutes or
> more) on my computer (Windows XP SP3 with 2Gb RAM and an Intel Core2 Duo CPU
> T6500 @ 2.1 GHz).
>
> So I'm wondering if just unzipping the corresponding zip file ("
> http://www.scala-lang.org/downloads/ ... /Beta?-RC?.zip") into the right
> directories and manually adjusting SCALA_HOME and PATH (if needed) is
> equivalent to running the installer.jar.
>
> I can see that the "Beta?-RC?.zip" does not have all the documentation
> files, but I suppose those can be obtained from one of the other files
> ("Beta?-RC?-devel-docs.tgz" maybe ?)
>
> Any help appreciated.
>
> - Sanjay
>

sanjay_dasgupta
Joined: 2009-12-08,
User offline. Last seen 1 year 10 weeks ago.
Re: "Beta1-RC8-installer.jar" vs "Beta1-RC8.zip"
Thanks Toni.
A related question: I remember seeing somewhere that blanks embedded in the installation directory path can cause problems.  But the installer appears to use "C:\Program Files\scala" for Windows hosts with an English locale. So, are embedded blanks not an issue any more?
Thanks,
- Sanjay

On Fri, Jan 22, 2010 at 3:15 PM, Antonio Cunei <antonio.cunei@epfl.ch> wrote:
Hello Sanjay,

Yes, the installer takes a rather long time to complete, especially on certain Windows configurations, as it needs to write a large number of small files.

If you manually unpack the zip you will get all the basic tools, so that is a quicker option. You can install the documentation files at a later time by typing:

sbaz install scala-devel-docs

It will take a rather long time at that stage, though :) But you can always browse the online documentation instead at:
http://www.scala-lang.org/archives/downloads/distrib/files/nightly/docs/library/index.html
Toni

Sanjay Dasgupta wrote:
The Scala installer (http://www.scala-lang.org/downloads/ ... /
Beta?-RC?-installer.jar#) takes really really really long (30 minutes or
more) on my computer (Windows XP SP3 with 2Gb RAM and an Intel Core2 Duo CPU
T6500 @ 2.1 GHz).

So I'm wondering if just unzipping the corresponding zip file ("
http://www.scala-lang.org/downloads/ ... /Beta?-RC?.zip") into the right
directories and manually adjusting SCALA_HOME and PATH (if needed) is
equivalent to running the installer.jar.

I can see that the "Beta?-RC?.zip" does not have all the documentation
files, but I suppose those can be obtained from one of the other files
("Beta?-RC?-devel-docs.tgz" maybe ?)

Any help appreciated.

- Sanjay



Antonio Cunei
Joined: 2008-12-16,
User offline. Last seen 3 years 22 weeks ago.
Re: "Beta1-RC8-installer.jar" vs "Beta1-RC8.zip"

Sanjay,

As far as I know, the installer and all the core tools should work fine
when installing in a directory containing whitespaces.

To be on the safe side, I just installed myself Beta1-RC8 on a test Windows
XP installation, using the installer, in "C:\Program Files\scala". I tested
scala, scalac, fsc, and sbaz, and all looks fine.

There are some restrictions about where to install only if you are planning
to work on the compiler source code itself; that is not something that end
users normally do.

Hope that helps!
Toni

Sanjay Dasgupta wrote:
> Thanks Toni.
>
> A related question: I remember seeing somewhere that blanks embedded in the
> installation directory path can cause problems. But the installer appears
> to use "C:\Program Files\scala" for Windows hosts with an English locale.
> So, are embedded blanks not an issue any more?
>
> Thanks,
>
> - Sanjay
>
> On Fri, Jan 22, 2010 at 3:15 PM, Antonio Cunei wrote:
>
>> Hello Sanjay,
>>
>> Yes, the installer takes a rather long time to complete, especially on
>> certain Windows configurations, as it needs to write a large number of small
>> files.
>>
>> If you manually unpack the zip you will get all the basic tools, so that is
>> a quicker option. You can install the documentation files at a later time by
>> typing:
>>
>> sbaz install scala-devel-docs
>>
>> It will take a rather long time at that stage, though :) But you can always
>> browse the online documentation instead at:
>>
>> http://www.scala-lang.org/archives/downloads/distrib/files/nightly/docs/...
>> Toni
>>
>>
>> Sanjay Dasgupta wrote:
>>
>>> The Scala installer (http://www.scala-lang.org/downloads/ ... /
>>> Beta?-RC?-installer.jar#) takes really really really long (30 minutes or
>>> more) on my computer (Windows XP SP3 with 2Gb RAM and an Intel Core2 Duo
>>> CPU
>>> T6500 @ 2.1 GHz).
>>>
>>> So I'm wondering if just unzipping the corresponding zip file ("
>>> http://www.scala-lang.org/downloads/ ... /Beta?-RC?.zip") into the right
>>> directories and manually adjusting SCALA_HOME and PATH (if needed) is
>>> equivalent to running the installer.jar.
>>>
>>> I can see that the "Beta?-RC?.zip" does not have all the documentation
>>> files, but I suppose those can be obtained from one of the other files
>>> ("Beta?-RC?-devel-docs.tgz" maybe ?)
>>>
>>> Any help appreciated.
>>>
>>> - Sanjay
>>>
>>>
>

Eric J. Christeson
Joined: 2009-07-22,
User offline. Last seen 3 years 4 weeks ago.
Re: "Beta1-RC8-installer.jar" vs "Beta1-RC8.zip"

On 01/22/10 05:31 AM, Antonio Cunei wrote:
> Sanjay,
>
> As far as I know, the installer and all the core tools should work
> fine when installing in a directory containing whitespaces.
>
> To be on the safe side, I just installed myself Beta1-RC8 on a test
> Windows XP installation, using the installer, in "C:\Program
> Files\scala". I tested scala, scalac, fsc, and sbaz, and all looks fine.
>
> There are some restrictions about where to install only if you are
> planning to work on the compiler source code itself; that is not
> something that end users normally do.
>
> Hope that helps!
> Toni
>
>
> Sanjay Dasgupta wrote:
>> Thanks Toni.
>>
>> A related question: I remember seeing somewhere that blanks embedded
>> in the
>> installation directory path can cause problems. But the installer
>> appears
>> to use "C:\Program Files\scala" for Windows hosts with an English
>> locale.
>> So, are embedded blanks not an issue any more?
>>
>> Thanks,
>>
>> - Sanjay
>>
>> On Fri, Jan 22, 2010 at 3:15 PM, Antonio Cunei
>> wrote:
>>
>>> Hello Sanjay,
>>>
>>> Yes, the installer takes a rather long time to complete, especially on
>>> certain Windows configurations, as it needs to write a large number
>>> of small
>>> files.
>>>
>>> If you manually unpack the zip you will get all the basic tools, so
>>> that is
>>> a quicker option. You can install the documentation files at a later
>>> time by
>>> typing:
>>>
>>> sbaz install scala-devel-docs
>>>
>>> It will take a rather long time at that stage, though :) But you can
>>> always
>>> browse the online documentation instead at:
>>>
>>> http://www.scala-lang.org/archives/downloads/distrib/files/nightly/docs/...
>>>
>>> Toni
>>>
>>>
>>> Sanjay Dasgupta wrote:
>>>
>>>> The Scala installer (http://www.scala-lang.org/downloads/ ... /
>>>> Beta?-RC?-installer.jar#) takes really really really long (30
>>>> minutes or
>>>> more) on my computer (Windows XP SP3 with 2Gb RAM and an Intel
>>>> Core2 Duo
>>>> CPU
>>>> T6500 @ 2.1 GHz).
>>>>
>>>> So I'm wondering if just unzipping the corresponding zip file ("
>>>> http://www.scala-lang.org/downloads/ ... /Beta?-RC?.zip") into the
>>>> right
>>>> directories and manually adjusting SCALA_HOME and PATH (if needed) is
>>>> equivalent to running the installer.jar.
>>>>
>>>> I can see that the "Beta?-RC?.zip" does not have all the documentation
>>>> files, but I suppose those can be obtained from one of the other files
>>>> ("Beta?-RC?-devel-docs.tgz" maybe ?)
>>>>
>>>> Any help appreciated.
>>>>
>>>> - Sanjay
>>>>
>>>>
>>
>
Depending on your building process, you may want to stay away from
directories containing whitespaces. I'm using cygwin with ant on
Windows XP. I just had one build fail because java was installed in
C:\Program Files\Java.

Eric

Copyright © 2012 École Polytechnique Fédérale de Lausanne (EPFL), Lausanne, Switzerland