Live data from Hacker News

Creating Runtime and Application Images with JLink (2021)

dev.java

21–22 of 22 posts

Re: Creating Runtime and Application Images with JLink (2021)

#21
post #8
post #7

Looks useful. Btw, $MAIN-CLASS is a terrible name to be used in the examples, its idea was to resemble shell variables I guess, but they can't have minus sign inside. Few paragraphs below there is another example of multi-word token and this time done properly with underscores. This is bad, because readers might get the wrong impression that such syntax can be used for real variables. Also there's a chance for this a…

> Also there's a chance for this article to be an input for various llms, thus increasing the confusion in the future. Sounds good. Anybody who uses LLM output without any understanding of their own deserves it.

Not sure what you mean.

LLM output will be used at places beyond your control and then information coming from it will be placed as legitimate, because people generally don't care about the outcomes of their actions. So talking about which individual deserves what is IMO misleading; we, as society, don't deserve such sh*t in general.

Re: Creating Runtime and Application Images with JLink (2021)

#22
post #19

Earlier quoted context omitted.

GraalVM is very different league. It actually compiles Java application into native code, which takes enormous amount of RAM and processing time. Also it requires adapting application, because it's not a compliant JVM. What I mean is just packaging JVM and related jars into a single runnable artifact which is much simpler task.

Yeah, but that isn't like Go. As mentioned, there is jpackage.

jpackage is just tool to create installer. I don't think it suits for this task. I don't want to create installer. I want to create an executable binary which I'd put into my /usr/local/bin.
Post reply on HN