Lukasz Lenart

Results 75 comments of Lukasz Lenart

I'm guessing you don't have JRE installed and the launcher tries to open your browser with an option to download the JRE. Maybe this will help https://stackoverflow.com/questions/7071133/how-to-bundle-a-jre-with-launch4j

The only option you have is to use [Additional JVM options at runtime](https://launch4j.sourceforge.net/docs.html#Additional_jvm_options)

The available options are documented [here](https://github.com/orphan-oss/launch4j-maven-plugin/blob/master/src/main/resources/MOJO.md) but maybe I can include them in the page

So you want to include JRE with the exe as well? Not sure if this possible after switching to Launch4j 3.50

[Here](https://github.com/orphan-oss/launch4j-maven-plugin/blob/master/src/main/resources/README.adoc) you can find how to use assembly plugin to pack all the dependencies, yet it isn't possible to include JRE - if JRE isn't available a monit to download...

The simplest solution is to use a Maven profile and `os.arch` to activate given profile https://stackoverflow.com/questions/6762271/how-to-use-platform-architecture-in-maven-to-determine-dependency

I do not maintain the Launch4j project, please request such change directly here https://sourceforge.net/p/launch4j/bugs/ If the project will be extended, then I can update the plugin.

Without creating a ticket [here](https://sourceforge.net/p/launch4j/bugs/) your PR won't be visible to author of Launch4j - this is just a one way mirror in GH

Hm... I can try to make the plugin to use different package and artifact name, should be doable 🤔

I talked to the author and all is fine, he's currently too busy to keep up with the project. Anyway, it should be possible to define the plugin in your...