- About Scala
- Documentation
- Code Examples
- Software
- Scala Developers
Compile to JDK1.4 classes
Sat, 2009-03-28, 19:58
Hi, everybody.
I want to get JDK1.4 classes with the latest version Scala (2.7.3) of
Windows.
Is there any compile switch? Or, how to do it?
If there cannot be such a way in the latest version Scala of Windows, please
tell me another way to do it.
Sat, 2009-03-28, 21:47
#2
Re: Compile to JDK1.4 classes
Technically, scala is implemented scala ;) (groovy on the other hand... that's written in java).
There is also a compiler flag to use when compiling to jvm 1.4 class-files "-target jvm-1.4"
I do not believe Java 1.4 output is being supported in Scala 2.8 (but this is not released yet).
-Josh
On Sat, Mar 28, 2009 at 3:45 PM, Marcelo Fukushima <takeshi10@gmail.com> wrote:
There is also a compiler flag to use when compiling to jvm 1.4 class-files "-target jvm-1.4"
I do not believe Java 1.4 output is being supported in Scala 2.8 (but this is not released yet).
-Josh
On Sat, Mar 28, 2009 at 3:45 PM, Marcelo Fukushima <takeshi10@gmail.com> wrote:
theres a JDK1.4 compatible version to download at
http://www.scala-lang.org/downloads/distrib/files/scala-2.7.3.final-jvm4.tgz
just untar and use it (since scala is written in java, it can run
anywhere theres a jvm)
On Sat, Mar 28, 2009 at 3:57 PM, elanvital <master@nexttrend.jp> wrote:
>
> Hi, everybody.
>
> I want to get JDK1.4 classes with the latest version Scala (2.7.3) of
> Windows.
> Is there any compile switch? Or, how to do it?
>
> If there cannot be such a way in the latest version Scala of Windows, please
> tell me another way to do it.
>
> --
> View this message in context: http://www.nabble.com/Compile-to-JDK1.4-classes-tp22760172p22760172.html
> Sent from the Scala mailing list archive at Nabble.com.
>
>
--
[]'s
Marcelo Takeshi Fukushima
Mon, 2009-03-30, 15:37
#3
Re: Compile to JDK1.4 classes
Scala is written in Scala. It compiles down to Java bytecode and that's why it can run on any JVM.
On Sat, Mar 28, 2009 at 12:45 PM, Marcelo Fukushima <takeshi10@gmail.com> wrote:
On Sat, Mar 28, 2009 at 12:45 PM, Marcelo Fukushima <takeshi10@gmail.com> wrote:
just untar and use it (since scala is written in java, it can run
anywhere theres a jvm)
Mon, 2009-03-30, 16:37
#4
Re: Compile to JDK1.4 classes
yeah... sorry about that... wasnt in my most inspired moment when i
wrote that... i actually knew that scala is written in scala, i just
didnt phrase that correctly...
On Mon, Mar 30, 2009 at 11:26 AM, James Iry wrote:
> Scala is written in Scala. It compiles down to Java bytecode and that's why
> it can run on any JVM.
>
> On Sat, Mar 28, 2009 at 12:45 PM, Marcelo Fukushima
> wrote:
>>
>> just untar and use it (since scala is written in java, it can run
>> anywhere theres a jvm)
>>
>
>
>
>
theres a JDK1.4 compatible version to download at
http://www.scala-lang.org/downloads/distrib/files/scala-2.7.3.final-jvm4...
just untar and use it (since scala is written in java, it can run
anywhere theres a jvm)
On Sat, Mar 28, 2009 at 3:57 PM, elanvital wrote:
>
> Hi, everybody.
>
> I want to get JDK1.4 classes with the latest version Scala (2.7.3) of
> Windows.
> Is there any compile switch? Or, how to do it?
>
> If there cannot be such a way in the latest version Scala of Windows, please
> tell me another way to do it.
>
> --
> View this message in context: http://www.nabble.com/Compile-to-JDK1.4-classes-tp22760172p22760172.html
> Sent from the Scala mailing list archive at Nabble.com.
>
>