I don't think it's worth speculating now. (1) The linked document mostly focuses on Java web start (which is just a convenience for some users - but we can ship JOSM otherwise, e.g. using a launcher like many java programs do) and other non-JOSM technologies (we have only one class depending on JavaFX)
(2) For Swing/AWT (that's what we use), I could not find any hint that it will be dropped. Instead, Oracle is stating that it will be supported at least until 2026 - that's 8 years. Finding a programming framework that will be supported in 8 years is very difficult. Even web browsers change faster than this and many web applications that worked 5 years ago are already broken. (They mentioned the java 11 release explicitly because it is a LTS release) Don't worry, we will be fine with java for now ;-). And if one day we won't, computers will be so powerful that we can transpile everything to javascript :D Michael Am 08.03.2018 um 23:54 schrieb Wiktor Niesiobedzki: > My reading of this Oracle post is that is to actually change the way you > ship the applications. Instead of relying on JRE installation on client > station - ship your code bundled with JRE as jlink does (and take care > about all the updates yourself). > > Anyway I guess that we can assume that number of end-user installations of > JRE will be shrinking, so shipping JRE together with your application might > be already a good idea. We should watch what Eclipse will do about it (and > all the commercial tooling based on Eclipse). My guess is that they will > not give up on it so easily. > > It means then that we need to cover all platforms in our build system. This > would be the case also whatever programming language we will take. > > If JOSM were to abandon Java as a language maybe we should think about > extending/repackaging/repurposing QGis? I guess that probably there were > such ideas in the past? > > Cheers, > > Wiktor > > 2018-03-08 19:07 GMT+01:00 Vincent Privat <[email protected]>: > >> WebStart is going away. It is the only part of Java that isn't open source >> and they explicitely stated they won't open source it: >> https://twitter.com/DonaldOJDK/status/971492781616136194 >> >> So at least starting from September we'll have to make the WebStart link >> less prominent as it won't work anymore for Windows and macOS users having >> their Java up-to-date. It will work natively only on Linux, where openjdk >> package includes the retro-engineered free version of WebStart >> (netx/icedtea-web): >> https://icedtea.classpath.org/wiki/IcedTea-Web >> >> I don't know if the few (single?) people behind IcedTea-Web will have the >> desire to maintain it after Oracle drops it from JDK. I don't know either >> if icedtea-web requires jar signing: maybe we will be able to drop the >> requirement to sign josm.jar, thus asking to Frederik to pay for the >> certificates ;) >> >> JavaFX will be given to someone else soon. Maybe the Eclipse Foundation, >> like Java EE which has be transferred to Eclipse, without the permission to >> call it Java EE anymore. Or maybe the Apache Foundation, where they already >> made OpenOffice and Hudson die there (given that they have been >> successfully forked as LibreOffice and Jenkins). >> >> AWT and Swing will still be here in Java 11. But the fact they mention it >> explicitely today probably means they have plans to remove it as soon as >> Java 12 development starts (in 6 months). I have no idea if the new project >> will create enough traction to have enough contributors (volunteers or pais >> staff from other companies), we'll see. Swing is still used a lot in the >> industry. At least we should be able to fix Swing bugs ourselves when we >> find ones. >> >> Concerning JOSM it means we will probably have to ship AWT, Swing and >> JavaFX in josm.jar. In JDK9 the desktop module (AWT+Swing) weights 13Mb, >> the various JavaFX modules 30Mb. JOSM jar is only 12Mb today. >> >> Cheers, >> Vincent >> >> 2018-03-08 11:19 GMT+01:00 Dirk Stöcker <[email protected]>: >> >>> On Thu, 8 Mar 2018, Dirk Stöcker wrote: >>> >>> [nothing] >>> >>> Sorry, operator error :-) >>> >>> >>> Ciao >>> -- >>> http://www.dstoecker.eu/ (PGP key available) >>> >>
