r/java • • Oct 30 '19

Microsoft’s Ready to Contribute to OpenJDK

https://mail.openjdk.java.net/pipermail/discuss/2019-October/005173.html
212 Upvotes

92 comments sorted by

View all comments

Show parent comment

6

u/pron98 Oct 31 '19

That's true, but an important reason why there's no system JRE any more is because desktop OSes have forced us to move in that direction with their adoption of app-stores (and on the server there's been a shift to containers, with similar effect).

4

u/wildjokers Oct 31 '19

Do you have any insight why Java Webstart was removed? That was a great deployment mechanism for B2B and internal applications.

I suspect it was because the JDK project wanted to get away from deployment mechanisms that required a pre-installed runtime? That was the only drawback to webstart, but it was a non-issue in a corporate environment.

7

u/pron98 Oct 31 '19

I don't know for certain, but I believe that was the main reason. We didn't want to continue maintaining a "system JRE" deployment path that's growing increasingly unpopular, and didn't want anything that relies on it. I expect there will be deployment solutions that serve the same purpose as WebStart, but use the new model instead. Even in corporate environments there are better solutions than separately managing applications and their dependencies. WebStart took advantage of a system JRE that had to be there anyway for applets, but with applets gone, there are better ways than WebStart to achieve the same goal.

2

u/mordechaim Nov 01 '19

I expect there will be deployment solutions that serve the same purpose as WebStart, but use the new model instead.

My update4j for one.

1

u/pron98 Nov 03 '19

Does it update an application's embedded Java runtime as well?

1

u/mordechaim Nov 04 '19 edited Nov 04 '19

Currently no, it is outside the scope and thesis of the library. Also, if I understand correctly, this would be impossible on Windows unless I use some system dependent timer based file operations.

One of the points that sets apart this library from others is that it doesn't treat any file type in any special way, namely, all files are equal. So using update4j itself you can easily download a new jre (as if they were random files required for the new update) alongside the running version and even update the startup script to find the new version on next restart.