Build Options

After you've set all the options in the other panels, then use the Build panel to create your installers, and optionally autoupdaters.

If a JVM file isn't installed: If any of the installers that can include the JVM are grayed out, then follow these instructions.

If there are any errors during the Build, look up each error number for suggestions and work arounds. After JExpress builds your installer, learn more about testing your system and the location of your distribution files. Click on the jump point or just page down to learn more about each setting on this panel.

 


 

Version

Specify the current version number or method of distinguishing this release from previous releases. This information displays on your install program's splash screen.

 


 

Build directory

The Build directory is where JExpress prepares your files for distribution. We recommend that this directory be a new directory so JExpress doesn't interfere with other files on your system.

JExpress defaults the Build directory to a subdirectory in your JExpress directory that matches your project's name. You can leave this field blank if you want to use the default, and JExpress will name and create the directory when you name the project.

Learn more about where JExpress stores your distribution files after it builds your installer.

 


 

Erase all of the Build directory before using

Check this box if you'd like JExpress to erase all the files in the Build directory and its subdirectories before JExpress creates a new distribution.

IMPORTANT: If you check this box, then JExpress will delete all subdirectories. On Unix, be very careful about linking to other directories to the Build directory. For example, if you'd link the root to the Build directory and then check this field, JExpress could delete all files on the drive.

IMPORTANT: Regardless if this box is checked or not, JExpress deletes the standard subdirectories created under the Build directory (e.g., installers, howto).

 


 

Installers

Add a check mark to all of the checkboxes to indicate which types of installers you want created for your application. JExpress can create installers that either include the JVM or don't. JExpress can create installers that include the JVM or not. We do not usually include all the JVM files so we suggest that you follow these instructions before you try to build.

If JExpress doesn't currently support a native installer for one of your desired platforms, then you can purchase a JExpress Installer Source license and adapt the native installer to your environment.

Windows:

Add a check mark next to the Windows checkbox(es) if you want to build an executable file that installs your application.

When you add a check mark to the Windows checkbox that includes the JVM, then an EXE file is created which automatically detects whether the JVM is on your customers' systems, installs it if it is not, and then installs your application.

If you add a check mark to the Windows checkbox with no JVM, then an EXE file is created which verifies that the correct JVM is installed on your customers' systems, but only reports to the user if it isn't. If the installer finds the correct version of the JVM, then it proceeds to install your application.

Mac:

Add a check mark next to the Mac checkbox if you want to build a Mac bundle that installs your application.

Apple does not allow you to distribute the JVM, but all Mac OS's since 10.2 include the JVM.

If you add a check mark to the Mac checkbox with no JVM, then a gzip file is created which includes the Mac application inside. Your customers simply double click on the gzip file and if they don't have StuffIt configured to launch the app inside, they simply click on the icon to start the installer.

If you prefer to distribute a DMG file and you create your installers on a Mac and you create your installers as an administrator, then you can create an ant target which takes the following steps after JExpress creates the Mac native installer.

  • Unzipped the mac native installer.
    Be careful that the ungzip program can handle deeply nested files. Some of the earlier versions on Mac didn't do this properly.
  • Issue the command: "make-dmg [full path]" where [fullpath] is the pathname to the Installer.app directory
  • Remove the tar.gz file and Installer.app subdirectory.

Linux:

Add a check mark next to the Linux checkbox(es) if you want to build an binary file that installs your application.

When you add a check mark to the Linux checkbox that includes the JVM, then a binary file is created which automatically detects whether the JVM is on your customers' systems, installs it if it is not, and then installs your application.

If you add a check mark to the Linux checkbox with no JVM, then a binary file is created which verifies that the correct JVM is installed on your customers' systems, but only reports to the user if it isn't. If the installer finds the correct version of the JVM, then it proceeds to install your application.

Solaris:

Add a check mark next to the Solaris checkbox(es) if you want to build an binary file that installs your application.

When you add a check mark to the Solaris checkbox that includes the JVM, then a binary file is created which automatically detects whether the JVM is on your customers' systems, installs it if it is not, and then installs your application.

If you add a check mark to the Solaris checkbox with no JVM, then a binary file is created which verifies that the correct JVM is installed on your customers' systems, but only reports to the user if it isn't. If the installer finds the correct version of the JVM, then it proceeds to install your application.

Cross Platform:

Check this box if you want to create a Cross Platform installer. The Cross Platform installer is more compact than the native installers because it doesn't include the JVM. It also works behind firewalls that don't allow executables, by providing a single JAR file that your customers download and load. Your customer must have the JVM already installed before they can use the pure Java installer.

Java Web Start:

If you want to create a Java Web Start installer, start JExpress with Advanced interface.

 


 

Build

When you click this button, JExpress saves your project and then builds your installers, and optionally prepares the updates files.

If there are any errors during the Build, look up each error number for suggestions and work arounds. After JExpress builds your installer, learn more about testing your system and the location of your distribution files.

 

 


 

   Welcome    |    Install    |    Layout    |    Files   |    Menus   |    Auto update    |    Build
 

How can we help?
Privacy Policy
Legal
© 1997-2011 DeNova.com