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

Do I need to install scala?

2 replies
jlist9
Joined: 2009-09-29,
User offline. Last seen 42 years 45 weeks ago.

Hi,

I'm new to scala. I have a question about deploying scala on
production servers.
In order to run code written in scala, do I always need to install the complete
scala distribution first? Or, can it just be a couple of jar files
that I add to Java
classpath and then I should be able to run the Java .class files
compiled with scalac?

Thanks

Ricky Clarkson
Joined: 2008-12-19,
User offline. Last seen 3 years 2 weeks ago.
Re: Do I need to install scala?

You'll just need scala-library.jar

2009/9/29 jlist9 :
> Hi,
>
> I'm new to scala. I have a question about deploying scala on
> production servers.
> In order to run code written in scala, do I always need to install the complete
> scala distribution first? Or, can it just be a couple of jar files
> that I add to Java
> classpath and then I should be able to run the Java .class files
> compiled with scalac?
>
> Thanks
>

dcsobral
Joined: 2009-04-23,
User offline. Last seen 38 weeks 5 days ago.
Re: Do I need to install scala?
Well, I might be incorrect, but I think maven will generate the war files for Lift deployments, so if you are doing Lift applications, that's covered.   Other than that, you just need the standard Scala library (scala-library.jar), and any other library you used.

On Tue, Sep 29, 2009 at 4:31 PM, jlist9 <jlist9@gmail.com> wrote:
Hi,

I'm new to scala. I have a question about deploying scala on
production servers.
In order to run code written in scala, do I always need to install the complete
scala distribution first? Or, can it just be a couple of jar files
that I add to Java
classpath and then I should be able to run the Java .class files
compiled with scalac?

Thanks



--
Daniel C. Sobral

Something I learned in academia: there are three kinds of academic reviews: review by name, review by reference and review by value.

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