r/programming • • Oct 21 '17

Using Java 9 Modularization to Ship Zero-Dependency Native Apps

https://steveperkins.com/using-java-9-modularization-to-ship-zero-dependency-native-apps#.Wes5IMWbUWE.reddit
310 Upvotes

109 comments sorted by

View all comments

20

u/Sloshy42 Oct 21 '17

It would be really super nice to be able to develop a desktop app in Java, bundling my own JVM, and publish it knowing that it would work pretty much anywhere like that. I have to wonder, though, would having multiple instances of the JVM on a user's machine not use up a lot more memory? Wouldn't this just be another Electron-esque situation all over again (albeit more efficient in some circumstances)?

5

u/[deleted] Oct 21 '17

[removed] — view removed comment

4

u/[deleted] Oct 21 '17

What about Mac and Linux users?

3

u/vytah Oct 21 '17

The exact packaging steps would be different, but in general you'd do the same thing.