Path: csiph.com!aioe.org!.POSTED.O5hsyUvK01te0L/SZurVSQ.user.gioia.aioe.org!not-for-mail From: =?UTF-8?Q?Arne_Vajh=c3=b8j?= Newsgroups: comp.lang.java.programmer Subject: Re: Surprise! Date: Mon, 27 Apr 2020 08:34:35 -0400 Organization: Aioe.org NNTP Server Lines: 56 Message-ID: References: <1t2omfi424j5x.v6vd61lcman0$.dlg@40tude.net> NNTP-Posting-Host: O5hsyUvK01te0L/SZurVSQ.user.gioia.aioe.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: abuse@aioe.org User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.7.0 Content-Language: en-US X-Notice: Filtered by postfilter v. 0.9.2 Xref: csiph.com comp.lang.java.programmer:39460 On 4/27/2020 8:12 AM, Martin Gregorie wrote: > On Mon, 27 Apr 2020 09:13:59 +0200, Joerg Meier wrote: >> On Sun, 26 Apr 2020 13:00:20 -0000 (UTC), Martin Gregorie wrote: >>> On Sun, 26 Apr 2020 05:06:48 -0400, Jeff Higgins wrote: >>>> On 9/19/19 3:28 PM, Stefan Ram wrote: >>>>> [...] with a recent JDK. [...] >> >>> This is using Open Java 1.8 [...] >> >> Calling 1.8 "recent" is quite a stretch ;) >> > True enough, but AFAIK its still supported, alongside 11 and 14, for > Fedora Linux. Yes. AdoptOpenJDK will supply updates until May 2026. https://adoptopenjdk.net/support.html > I recently saw stats (in The Register) showing the majority > of developers are still using 8, Yes. But a lot of them are in the process of upgrading to 11 now. > If its just as easy to move from Java 8 to 11 or 14 as it still is to > compile a K&R source file under that latest ANSI C compiler, then I'm > happy to move on, but is it that easy? Somehow I've gotten the impression > that it may not be. Java upgrades are usually pretty easy. But some can cause a bit of work. 1.4 -> 1.5 was one of them. 8 -> 11 is one of them. Things to be aware of include: * if you use unsupported SUN classes then you may need ti circumvent the module system introduced in Java 9 to get your stuff to build and run * if you use JAX-WS or JAXB then that is now a separate download - it is no longer builtin Java SE * if you use JavaFX then that is now a separate download - it is no longer builtin Java SE * if you use CORBA then you need to find another implementation But if you get JAX-WS and JAXB then my guess is that 99.8% of all Java 8 code will work with 11. Arne