[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: old version of scala



Apologies for the iPhone typo: last paragraph about sbt, I never meant to type “ant 1.x” but rather “sbt 1.x”

Thomas

Sendt fra min iPhone

> 5. feb. 2019 kl. 15:08 skrev Thomas Finneid <tfinneid@fcon.no>:
> 
> Hi
> 
> What I mean is that the scala projects own build process built and tested  scala 2.11 using java 1.6.
> Scala 2.12 is built and tested with java 8. 
> 
> So a Linux system that uses a jdk higher than java 6 for running scala code with scala 2.11, can experience unexpected faults or errors while running a scala program
> Likewise with scala 2.12, it is built and tested using java 8.
> 
> I haven’t checked the details well enough in debian, but in Ubuntu the default jdk that the scala package depends on is jdk10/11. The scala version it installs is 2.11. So I manually had to install the lowest available version of jdk, which was java 8. But even that is not really compatible with scala 2.11.
> 
> Also, scala 2.12 is built with sbt 0.13, even though ant 1.x is available,
> Which means it also need the correct sbt version to build scala correctly.
> 
> So, I want to help fix these issues for both scala and sbt and upgrade scala to 2.12.
> 
> Hope this explained it better.
> 
> Regards
> 
> Thomas
> 
> Sendt fra min iPhone
> 
>>> 5. feb. 2019 kl. 13:37 skrev Thorsten Glaser <t.glaser@tarent.de>:
>>> 
>>> On Mon, 4 Feb 2019, Thomas Finneid wrote:
>>> 
>>> NB1: Scala 2.11 is built for java 6, and has only rudimentary support for java
>> 
>>> NB2: Scala 2.12 is built against java 8, so it does not support java 9/10 or
>> 
>> What do you mean “built for/against”?
>> 
>> In Debian, the Scala source code is built against the JDK
>> that’s in Debian, recompiled from scratch, of course.
>> 
>> bye,
>> //mirabilos
>> -- 
>> tarent solutions GmbH
>> Rochusstraße 2-4, D-53123 Bonn • http://www.tarent.de/
>> Tel: +49 228 54881-393 • Fax: +49 228 54881-235
>> HRB 5168 (AG Bonn) • USt-ID (VAT): DE122264941
>> Geschäftsführer: Dr. Stefan Barth, Kai Ebenrett, Boris Esser, Alexander Steeg
>> 
>> *************************************************
>> 
>> **!!! NEU !!!** Mit der **tarent Academy** bieten wir ab sofort auch Trainings
>> und Schulungen in den Bereichen Softwareentwicklung, Agiles Arbeiten und
>> Zukunftstechnologien an. Besuchen Sie uns
>> auf [www.tarent.de/academy](http://www.tarent.de/academy). Wir freuen uns auf
>> Ihren Kontakt.
>> 
>> *************************************************


Reply to: