maztan / launch4j_auto_jre_download

Launcj4j modified version. Allows for automaticdownload of JRE.
Other
7 stars 1 forks source link

Bundled JRE path #2

Open dtomi97 opened 7 years ago

dtomi97 commented 7 years ago

Hi. Could you plaease tell me what kind of options do I have to set in the "JRE" tab ?

Sorry if I made grammar mistakes, I have a bad enlish.

Anyways, thanks for your answer.

maztan commented 7 years ago

I am sorry for such a late reply. Download example configuration XML file: https://github.com/maztan/launch4j_auto_jre_download/blob/master/example_custom_launch4j_config.xml . Open my custom version of Launch4j and click second button on top "Open configuration or import" - it has a folder icon. Find and open the downloaded XML file. Go through the tabs of the launch4j window and modify the default options I set there. I hope it help. Let me know how it goes. Best luck!

dtomi97 commented 7 years ago

I made everything just like you recommended it, but it generates an .xml file at the end and I totally have no clue what is wrong. The generated .xml file has the same things like the example .xml has. Maybe I failed something :/

maztan commented 7 years ago

Hmm. I don't remember now but maybe I made it like this as I used it from command line. So, if you want to generate the exe, generate the XML file with your configuration and pass it as parameter in command line like this (launch4j.jar is in the repository): java -jar launch4j.jar your_generated_config.xml

dtomi97 commented 7 years ago

I wonder if it works in Windows. Do you think there is a chance I can do it in windows? If yes, how? My project is pretty big so I just don’t want to export it to an other pc.

  1. szept. 29. dátummal, 2:36 időpontban Ed Savailonei notifications@github.com<mailto:notifications@github.com> írta:

Hmm. I don't remember now but maybe I made it like this as I used it from command line. So, if you want to generate the exe, generate the XML file with your configuration and pa it as parameter like this (launch4j.jar is in the repository): java -jar launch4j.jar your_generated_config.xml

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHubhttps://github.com/maztan/launch4j_auto_jre_download/issues/2#issuecomment-332999880, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AZdZYOdXxx48Z968fOVF4iNsWbTJBHi4ks5snDuDgaJpZM4PhHj9.

maztan commented 7 years ago

The instructions are for Windows ;)

maztan commented 7 years ago

You just need to set your application's executable JAR file path in the XML config file.