exeJ - V1.01 by Sureshot - Users manual

 

Table of contents
-----------------

1. Introduction
2. Install
3. Uninstall
4. Creating exe files
5. Examples
6. Final words
7. FAQ - Frequently Asked Questions


1. Introduction
---------------

exeJ is a command line tool that creates a "batch-like" executable (.exe file) for your java application. The command line used to start your java application is wrapped in the generated executable and the user can simply start the java application with a double-click. The generated .exe is Windows 95/98/ME/NT/2000/XP compatible.

The target system must have JavaSoft JRE installed.


2. Install
----------

Follow these two steps to install exeJ:
1. Create a directory suitable for installation. (For example, "c:\exej\")
2. Extract the zip file into the directory. If you don't have a zip extractor, please download Winzip here.

The installation is now finished.

3. Uninstall
------------

Locate the folder where exeJ is installed and delete it.

4. Creating exe files
---------------------

exej.exe generates the executable wrapper. exej.exe reads a configuration file with the required data.

For example:
>exej.exe -cfg config.txt

The config file should contain the command line arguments used to start the java application. For example, assume you would like to start your small hello world application using the command line "java -classpath . HelloWorld", the configuration file should look like this:

commandline=-classpath . HelloWorld
  
When you run the command line:
>exej.exe -cfg config.txt

two files are generated, "using_java.exe" and "using_javaw.exe". The first executable wraps "java.exe -classpath . HelloWorld" and the other wrap "javaw.exe -classpath . HelloWorld". Now, run one of the executable wrappers to start your application.

If you run into problems when running the executable wrapper you can add the "-exejverbose" switch to get debug information.

For example:
>using_javaw.exe -exejverbose


5. Examples
-----------

There are two examples located in "doc\example1" and "doc\example2". Open a DOS prompt in one of the directories and start the example by running the "create_exe.bat" file and follow the instructions.


6. Final words
--------------

If you have questions about the software, would like to make a comment or have found a bug please send us an email!


------------------------------------------------
by Sureshot