microsoft / java-wdb

Windows Developer Box for Java Developers
MIT License
75 stars 1 forks source link

JDK Installed (with JavaFX) on Windows By Default #7

Open brunoborges opened 3 years ago

brunoborges commented 3 years ago

As reported on Reddit: https://www.reddit.com/r/java/comments/jxllez/java_development_on_windows_request_for/gcxf3l3/

josephglanville commented 3 years ago

This is probably the big one, though it's only indirectly a benefit to developers (which probably need to manage multiple JVMs) it has a big impact on the distribution of JVM applications to end users in the future.

Right now for good distribution on Windows you generally need to package the JVM with your application. While this isn't overly difficult it makes Java apps seem bigger (especially if you don't have time to optimise with Java modules to get the size down) and increases friction.

kevinherron commented 3 years ago

This is not actually that great unless you happen to be targeting the version of the JDK and JavaFX that is included... not to mention you will still have to build or ship runtimes for your Linux and Mac distributions.

I would almost consider this a negative improvement.

tbee commented 3 years ago

You could make AdoptOpenJDK/JRE available in the windows store, that wouldn't be a big thing. JavaFX is a library and should come with the application.

brunoborges commented 3 years ago

@tbee shouldn't AdoptOpenJDK be the entity responsible for publishing a package to the Windows Store?

tbee commented 3 years ago

Maybe. Someone should do it. And that someone probably has a sense of responsibility / gain for having it in the Microsoft store. Not sure if AdoptOpenJDK has that. Microsoft may have, for promoting the use of the store. Maybe Microsoft even wants to maintain its own build, because it can include a optimization or COM API extension? So fully Java compliant, but tuned for Windows because...