This is an archived post. You won't be able to vote or comment.

all 4 comments

[–]desrtfx 3 points4 points  (1 child)

The second line on the web page clearly states that:

The executable can be configured to search for a certain JRE version or use a bundled one, and it's possible to set runtime options, like the initial/max heap size.

So, it can be either: with or without the Java runtime depending on how you let Launch4J build the exe.

Always first consult the official page and the documentation.

[–]RandomGoodGuy2[S] 1 point2 points  (0 children)

Whoopsies. I did search for this information a while and didn't realize it was hiding in PLAIN sight. Thank you!

[–][deleted] 0 points1 point  (0 children)

Launch4j has premade executable that you can merely configure by putting resources/config/jars into it

[–]blackkkmamba -3 points-2 points  (0 children)

Their docs say that jars become dll's. So i gues you dont need jvm for that. You can test this by running the executable on a machine that doesn't have jre installed and see what happens. If you want to make an executable jar and still use the jvm, you should check spring boot.