Demos

Demo programs to show usage of Jar2Exe


Overview

You can learn to use Jar2Exe by referring to the demo programs.

Before you follow the steps of examples, you can do some prepares:

  1. Download and Install Jar2Exe to let command "j2ewiz" valid.
  2. Install JDK and add the bin directory of JDK to PATH to let command "javac" valid.
  3. Make a directory as the root of demos, for example: "X:\demos", then 2 sub-directories "src", "lib".
  4. Download Integrate API and save it to "X:\demos\lib\jar2exe_integrate.jar".

Download All Demos

  • demos.7z - 5.75M, all demos in one file

Hello Jar2Exe

A "Hello Word" program to test whether Jar2Exe does work.


Hello JFrame

A simple java window program to show usage of Windows type of application.


Hello Service

 A simple service program to show usage of Service type of applications.


Hello Splash Window

A simple windows program to show usage of window program and Splash window.


Hello Event Log

A simple console program to show usage of Event Log.


Hello System Tray

A simple windows program to show usage of window program and System Tray.


Hello Stdout Redirect

A simple console program to show stdout redirection. The redirection is enabled through configuration file.


Hello Derby

2 simple console programs to show usage of Derby database.

Add new comment