Specify an exe filename to be generated
Introduction
The output step is to select an exe filename to be generated.
The exe filename will be automatically determined from the jar filename, you can change the filename, or use the filename automatically determined directly.
Usage
You can input the filename, or browse to select an exe filename.
![]() |
![]() |
![]() |
On 64 bits edition of Jar2Exe, you can check the "Create 64 bits executive" to generate 64 bits of exe file, uncheck to generate 32 bits of exe file.
Use Version & Messages dialog to add icon files and edit version information, and edit custom messages:
![]() |
![]() |
Edit custom messages. [since 2.0.6] |
Use "Configure Internal" to make a internal configuration for generated exe, this configuration will be within exe file:
![]() |
![]() |
![]() |
![]() |
![]() |
Please input the executive filename to create
An edit box for exe file name. You can input a file name directly or select a recent file name. Or click "Browse" to select a file name from disk.
At command line mode, this parameter is "/o".
Browse ...
Open a file dialog to select a file name to save as.
Version & Messages
Open the Product Info dialog to edit add icon file and edit version information.
At command line mode, this parameter is "/pv x.x.x.x", "/fv x.x.x.x", "/ve item=desc".
Custom Message [since 2.0.6]
Open a dialog to edit custom messages.
At command line mode, this parameter is "/message n=msg".
Config Internal [since 2.0.3]
Make configurations internal in the exe file. The syntax of configuration internal is the same as configuration file.
- See Configuration for syntax of configuration.
- At command line mode, this parameter is "/config".
Create 64 bits executive
Check this box to create 64 bits of exe file. This box is enabled if Jar2Exe is 64 bits edition.
At command line mode, this parameter is "/amd64".
XP manifest [since 2.0.7]
For windows only.
To add XP manifest in the resources of generated exe. This will change the style of windows controls.
At command line mode, this parameter is "/xpmanifest".
Run as admin [since 2.1.6]
For Windows Vista and later only. To request administrator privilege before it runs.
Since V2.1.6, there will be a system property: "true".equals(System.getProperty("j2e.is.elevated")) if the current procoss is running as administrator. On Windows earlier than Vista, the system property "j2e.is.elevated" is always "true".
At command line mode, this parameter is "/runasadmin".
Self checksum
Check this box to let generated exe do checksum when it runs.
At command line mode, this parameter is "/checksum". It is enabled by default, so you need to "/checksum:false" explicitly if you want to disable checksum.
Authorize as product [since 2.0.7]
Check to generated exe files to be product. If not checked, the generated exe is allowed to run within 30 days for TEST or DEMO only.
This checkbox is disabled if Jar2Exe is not activated.
At command line mode, this parameter is "/authorize".
See Also
- See Icon and Version page for more information about Icon and Version.
- Prev Step: Step 5: Dependent Jars page for adding depended jar libaries
- Next Step: Step 7: Finish page for post configuration after generated.
Comments
exe must use javaw to run exe
how to create a exe file must use javaw to execute instead of java
Dear, please select 'Windows GUI' type at step 2
Generated exe file does not use 'java' to start, nor 'javaw', but it use 'jvm.dll' to start.
If you don't want the Console window to be visible, please select 'Windows GUI application' at step 2.
Change message language
Hi, how can I change the language of the singleinstance message in the compilation?
"There is already an instance of this program running."
Thank you
Add new comment