Skip to content
Advertisement

Tag: exe

Is there a way I can bundle a jre in a Launch4j .exe file?

I would like to bundle a jre folder into my generated launch4j .exe file via maven pom.xml (For some reason, I don’t want an installer, just a click to run Java application that has its own embedded jre). Is it possible? I have read through several posts and I don’t get a maven automated one. I don’t want to do

Cannot run Launch4j (illegal access)

I would like to create an .exe file for my java desktop application. Hence, i saw that Launch4j was the best option. When I ran. the file, i have the following error message. I am working under Mac OS Catalina, version 10.15.3. and my Java version environment: openjdk version “11.0.7” 2020-04-14 OpenJDK Runtime Environment AdoptOpenJDK (build 11.0.7+10) OpenJDK 64-Bit Server

Advertisement