JSmooth is a tool for wrapping Java JAR files into Windows Portable Executable EXE files. It allows specifying various details on how the program should be invoked, such as:
- Executable icon
- Program arguments
- Type of wrapper application (console or Windows GUI)
- Whether to launch the Java VM in the same process as the EXE or a separate process
- Maximum and initial memory allocation
- System properties available to the application via the System.getProperty function
JSmooth is distributed under the GNU General Public License, and is written in Java using Swing. Generated executables are built on MinGW, and as such there is no dependency on proprietary software.
Unlike other exe wrappers, JSmooth is 100%-Java, and can be used to create the Windows executable from a Linux compilation-chain (an ANT task is provided).
In software, JAR (Java ARchive) is a package file format typically used to aggregate many Java class files and associated metadata and resources (text, images, etc.) into one file to distribute application software or libraries on the Java platform.
JAR files are fundamental archive files, built on the ZIP file format and have the .jar file extension. Computer users can create or extract JAR files using the jar command that comes with a JDK. They can also use zip tools to do so; however, the order of entries in the zip file headers is important when compressing, as the manifest often needs to be first. Inside a JAR, file names are unicode text.
To create .jar files with netbeans follow these steps:
1 Click on Properties
2 Click on Packaging
3 Click on Compress JAR File
4 Accept changes, click ok
5 Click the button in the ribbon tab with the hammer/broom. (clean and build project)
6 Go to the directory where your project is stored
7 Look in the dist folder for your .jar file