B4J Question Integrated Packager - standalone exe with all files included (as single file .exe)?

kgf

Member
Licensed User
Hi
Using the Integrated Packager I can package a jar successfully to a folder (with sub folders and the exe) but haven't found a way to include all files in a single exe.
I was able to with Launch4j on java 8 but don't seem to be able to with jdk11

Hoping to be able to just have an exe I can distribute rather than an installer, as I would like to copy the exe into a folder and have it refer to other files in that folder without all the extra folders such as bin, conf, legal and lib needing to be added to the location (as below). Be much tidier if it was a single exe. (to use on Windows)


Any suggestions

Thanks
 

kgf

Member
Licensed User
I was hoping to have the exe and the folders in a runnable exe, so it could be put to a folder as one file rather than the exe and 4 folders,
but it will work as is.
Thanks
 
Upvote 0

teddybear

Well-Known Member
Licensed User
I was hoping to have the exe and the folders in a runnable exe, so it could be put to a folder as one file rather than the exe and 4 folders,
but it will work as is.
Thanks
Single packaged exefile is just a self-extract archive as Erel said, it extracts the integrated file into a temporary or special folder, then runs the file you want automatically .
for user, you deliver one exefile to him, and it can be run everywhere.
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…