What is Jar2Exe?
Jar2Exe would be to convert jar files into files that are binary for Windows and Linux. Why should we choose to mix jar files into exe files with Jar2Exe, since it makes the coffee app more suitable:
- It creates a coffee app simpler to operate.
- It creates a coffee app more secure to redistribute with encryption.
- It creates a stronger coffee app by purpose augmentation.
Wrap, operate, safeguard and improve your coffee program to a binary file for Windows, Linux, and Mac OS X.
- Locate JRE on the server alone
- Encrypt and protect your coffee app
- Run as Service without particular coding
- Embed jar libraries to binary
- Enriched configurability
Jar2Exe is a lightweight and easy-to-use program made to turn Java .jar documents into executable binary .exe files. It may do that by creating new procedures (CreateProcess API) or simply skipping this step and using the Java native interface instead (JNI), thanks to the 2 miniature tools it includes.
Change Java files into executable binaries.
It is required to get Java JRE, Java JDK, and .NET Framework installed to use those tools. The bundle itself does not need installation, which means it's possible to extract the files in the downloaded archive file and double-click on the .exes to make it to the principal windows.
The port of JarToExe is easy and intuitive, perfect for executing conversion jobs in a rush. After specifying the JAR file, you can pick an ICO file if you would like to create the .exe using an icon and specify the Java minimum and maximum variant (like minor assembles ). Remember that the program will try to conduct the .new exe using the Java version you've installed.
Jar2Exe Great Attributes:
Locate JRE on the server by itself
The generated binary executive could locate JRE on the server:
- Hunt JRE from System recorder for SUN JRE and IBM JRE.
- Hunt JRE from neighborhood bundled'jre' directory.
- Hunt JRE out of JAVA_HOME or JRE_HOME environment factor.
- On Linux, hunt JRE by subsequent which java' to coffee emblem hyperlink
- The lookup manners may be disabled or reordered.
Java version check before implement
Check coffee version lower and greater than a variant:
- Check coffee version has to be equal to or higher than a variant. (minjre)
- Check coffee version no greater than a variant. (maxjre)
- to inspect the java version is discretionary; it may be disabled.
Insert an icon and model information to created binary
To include version and icon to the source of created binary file:
- You can insert one or icon into the made binary file.
- It's encouraged to decide on a file version and product version.
- It's encouraged to decide on a set of backup right descriptions.
Messages are customizable
You may customize error messages; it is possible to add more information to your clients. Such as:
- Java runtime environment (JRE) not found on the server
- Main course (entry point of app ) not found or not legitimate.
- Service install fails due to no urgency.
- Other over a dozen messages.
Jar2Exe and created binary record has a wide grip:
- Jar2Exe supports creating binary documents for Windows and Linux and Mac OS X.
- Jar2Exe supports creating 32 bits and 64 bits binary files.
- Generated binary files operate by JRE from 1.2 to 1.7.
- Generated binary documents are VC runtime libraries separate.
- Generated binary files for Linux are GLIBC independent.
Redirect System. Out, System. err into a pipe or file
By default, stdout redirect isn't enabled.
- System. Out and System. Err could be redirected separately.
- Stdout, You can redirect stderr into a disc or system apparatus like PRN, NUL, /dev/null, etc...
- Stdout, You can redirect stderr into a pipe; regardless of that, the output will probably be stdin of another program.
Display a splash display when the app is starting up
Display a splash screen run with JRE sooner than 1.5.
- Automatically shut when the initial window appears.
- The window name could be customized, which is shown from the button on the taskbar.
- You could conceal the button taskbar with an empty name.
- You may control the closing of the splash screen through incorporate API.
System icon supported
It's encouraged to reveal a tray icon on the taskbar. This is beneficial to get a miniature tool application on the desktop computer.
- Display a system tray menu with balloon mode.
- The picture is changeable to demonstrate a shifting icon by modifying its picture frame by frame.
- You can capture mouse events through incorporate API.
- Display a popup menu on mouse occasion.
Establish"Current Working Directory" having a complete or relative path
The"Current Working Directory" will influence file operations using a relative path. When a document is created using a filename without a directory path, You will generate the document from the"present working directory":
- When the directory is set with a relative path, it's based upon the binary file's path.
The generated binary executive is configurable with wealthy configure things.
You could configure parameters to created binary options, including Java VM parameters, system attributes, environment factors, JRE route, JRE search sequence, stdout redirects, etc.:
- You could place the setup in the binary file.
- The setup could be out in a configuration file or both.
- Config Assistant can help edit the settings.
- The setup files out of binary file may be disabled by inner config.
Singleinstance and innovative singleinstance
The single instance would be to restrain running instances of the Exact Same app:
- Support single instance attribute to restrain running cases; default false means no limitation.
- Support'singleinstance accurate' to allow just 1 instance running at precisely the same moment.
- Support'singleinstance habit' to allow communication between cases and allow the coffee program to restrain the cases.
Encrypt and protect java app to prevent it from being hauled
Encrypt and conceal java program into a made binary file; then You Can't extract it:
- No temporary file will be generated when the shielded program runs.
- You may guard both courses along with other source files.
- Generally, You need not alter the program to be compatible with security.
- In certain instances, if an app uses ClassLoader, then it might be asked to utilize another ClassLoader rather than be more compatible with security.
Run as Service without particular coding
Jar2Exe can create Service kind of binary file for Windows, Linux, and Mac OS X:
- Without specific coding, any coffee program can operate as support.
- Automatically or manually startup when system startup.
- It is possible to install and uninstall itself in the command line.
- Fixed startup arguments could be inserted once put in service in the command line.
- Get shutdown occasion through incorporate API.
- On Windows, PAUSE/CONTINUE has been encouraged.
Depended You could insert jar files right into the binary executive
Wrap relied upon jar files into one virtual executive file. Those embedded jar files are contained in classpath currently:
- Courses in embedded jar files are packed internally with no written to the temporary document.
- Embedded jar files could be chosen to be shielded in case encrypt or hide alternative chosen for main jar file.
Jar2Exe can operate as a Wizard window or Command-line tool
Jar2Exe can operate in Wizard mode and Command line style:
- Run Jar2Exe from shortcuts from the command line without arguments; it will operate in wizard mode.
- Run Jar2Exe with discussions; it is going to run in command line mode.
- In the final step of the wizard, an equal command line series can be made for convenience.
It's easy to get help at any given time:
- There's a help button on every step of the magician to inform you that the use.
- Sort"j2ewiz /?" At command line to receive hints of the command-line style.