4 ms·
Under what circumstances are you writing software for deployment in places you don't have administration access on (i.e., your servers, which should be deployed
by eropple 10y ago
Under what circumstances are you writing software for deployment in places you don't have administration access on (i.e., your servers, which should be deployed with CM as-is and make adding dependencies trivial) where you cannot package OpenJDK (this is trivial on Windows, OS X, and Linux), cannot expect a system administrator to install the JVM, and can expect Rust to run?
There is a slice of the universe where this exists, but it's not really Kotlin's target in the first place (and I think that's basically self-evident from everything around it) so I'm not sure why you'd try to jam that square peg in the round hole to begin with.
- ld00d 10y agoI'm thinking of client machines. People balk at installing Java these days. Is there a way to get the JVM without Java? Is Kotlin not capable of being a client application?
- tormeh 10y agoYou just package the JVM with the application itself. Create a .bat/.exe/.sh/binary file that calls the JVM with your program as the argument. It's simple, but it will increase the download size of your program significantly (unless your program is huge - then it doesn't matter)
- maxxxxx 10y agoNo installer needed? Just copy the files somewehre? That would be nice.
- eropple 10y agoSure. Plenty of Java-based games do this.
- freekh 10y agoThis may come off a bit snarky but is there really plenty of Java games out there? If so, anything anybody might have heard off?
- Nullabillity 10y agoMinecraft was somewhat popular a few years ago. :P Runescape also used to be a pretty big one, even if it's been shrinking lately AFAIK.
- bdavisx 10y agoMinecraft would be one that a few people have heard of... Many games on Android are also Java based obviously.
- mike_hearn 10y agoOr look at the javapackager tool that comes with JDK8.