Hi Christian,

The Mac I use for development has Java 8 natively so no issue. We also have BaseX deployed on a GNU/Linux VM running Java 7 (details below). Would we need to upgrade the JRE or JDK to Java 8 to make it work with the new versions of BaseX? This machine is dedicated to our project so presumably we should be able upgrade it to Java 8 without affecting anyone else.

Thanks,
Ron


$ java -version

java version "1.7.0_111"

OpenJDK Runtime Environment (rhel-2.6.7.8.el7-x86_64 u111-b01)

OpenJDK 64-Bit Server VM (build 24.111-b01, mixed mode)



Ron Katriel, Ph.D. | Principal Data Scientist | Medidata Solutions
350 Hudson Street, 7th Floor, New York, NY 10014
rkatriel@mdsol.com | direct: +1 201 337 3622 | mobile: +1 201 675 5598 | main: +1 212 918 1800

On September 27, 2017 at 2:15:37 PM, Kirsten, Dirk (dirk.kirsten@senacor.com) wrote:

Hi Christian,

+1 from me as well. However, I have to say that the enterprisey customer™ I currently work for still uses Java 7 (because whatever...) and I would imagine it is not unheard of in the rest of the enterprise world. But I wouldn't worry too much about it: First, for the ad-hoc stuff they use we could still use older versions of BaseX. And secondly I think the gain of using Java 8 is much, much higher. Also, the switch to Jetty 9 sounds very promising to me.

I would be really interested if maybe using some Java 8 language features (parallel streams and so on) might even benefit BaseX performance.

All the best
Dirk


Senacor Technologies Aktiengesellschaft - Sitz: Eschborn - Amtsgericht Frankfurt am Main - Reg.-Nr.: HRB 105546
Vorstand: Matthias Tomann, Marcus Purzer - Aufsichtsratsvorsitzender: Daniel Grözinger


-----Ursprüngliche Nachricht-----
Von: basex-talk-bounces@mailman.uni-konstanz.de [mailto:basex-talk-bounces@mailman.uni-konstanz.de] Im Auftrag von Marco Lettere
Gesendet: Mittwoch, 27. September 2017 15:23
An: basex-talk@mailman.uni-konstanz.de
Betreff: Re: [basex-talk] [basex-announce] Moving on to Java 8?

Hi Christian,
most important thing for us is moving to Jetty 9 thus cutting down the dependency to Java 7 feels like a completely favorable deal!
Anyway thanks for asking!
Regards,
Marco.

On 27/09/2017 15:19, George Sofianos wrote:
> I think it's great that BaseX is moving to Java 8. However I don't
> have a dependency on Java 7 so my opinion might be biased :) Hopefully
> more people agree with that.
>
> George
>
>
> On 09/27/2017 02:19 PM, Christian Grün wrote:
>> Dear all,
>>
>> Java 9 has just been released. As you may know, the BaseX code base
>> is still compatible with Java 7, because version 7 is still used in
>> the wild (we even got various user complaints when we upgraded from
>> Java 6 just a few years ago).
>>
>> There are several reasons why we will move along to Java 8 in the
>> near future:
>>
>> * It is more and more unsafe to use Java 7, because Oracle has
>> stopped support two years ago.
>>
>> * From the developer point of view, there are only advantages when
>> working with more recent versions of a software: newer language
>> features and standard libraries can be used, the code base can be
>> reduced, etc.
>>
>> * We would like to switch to the newest version of Jetty, which
>> requires Java 8.
>>
>> Before we approach further, we are interested in hearing your
>> reactions: Do you still work with Java 7? Would some of you require
>> longtime support for Java 7?
>>
>> Thanks in advance and all the best,
>> Christian
>