Skip to Main Content
Killer Game Programming in Java
book

Killer Game Programming in Java

by Andrew Davison
May 2005
Intermediate to advanced content levelIntermediate to advanced
998 pages
26h
English
O'Reilly Media, Inc.
Content preview from Killer Game Programming in Java

Appendix A. Installation Using install4j

This appendix describes 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, though 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 book.

I'll develop installers for two examples from the book: BugRunner and Checkers3D. BugRunner comes from Chapter 11 and uses the standard parts of J2SE and the J3DTimer class from Java 3D. Checkers3D, from Chapter 15, was my first Java 3D example.

install4j can create an installer that includes a JRE 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 installed. Creating an installer is tricky for an application that requires parts of Java 3D, an extension that isn't included with J2SE or JRE. That's a large part of the reason for choosing the version of BugRunner that uses J3DTimer.

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.

install4j Versus JWS

Before ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Java Game Development with LibGDX: From Beginner to Professional

Java Game Development with LibGDX: From Beginner to Professional

Lee Stemkoski

Publisher Resources

ISBN: 0596007302Supplemental ContentErrata Page