This appendix uses install4j ( http://www.ej-technologies.com/products/install4j/overview.html), a cross-platform tool for creating native installers for Java applications. install4j supports Windows, UNIX, Linux, and the Mac OS, although I'll only be creating installers for Windows. This is mainly to keep things simple, and because I only have regular access to Windows machines.
Any kind souls who have written example install4j installers for other platforms should contact me, and I'll include a link to their work in a future version of this appendix.
I'll develop installers for two examples from the book: BugRunner and Checkers3D. BugRunner comes from Chapter 11 on 2D sprites; it uses the standard parts of J2SE and the J3DTimer class from Java 3D. Checkers3D, from Chapter 15, is our first Java 3D example.
install4j can create an installer which includes a JRE, either as part of the .exe file or downloaded automatically from install4j's Web site when the installer first runs. However, I'll assume that Java is already installed.
It is altogether more tricky to create an installer for an application that requires parts of Java 3D, an extension which isn't included with J2SE or JRE.
The installers will be built with an evaluation copy of install4j Enterprise Edition v.2.0.7. It's fully functional, but adds several "this is not a registered copy" messages to the installation sequence.
Dr. Andrew Davison
Back to my home page