Java[tm] Smart Ticket Sample Application 2.0 Early Access > Installation

Installation

System Requirements

The JavaTM Smart Ticket Sample Application consists of two parts: one part runs on a Java application server, and the other runs in a Java mobile device.

For demonstration purposes, the sample application requires all of the following items:

For more information on the system requirements of the above items, please refer to their respective documentation sets.

Required Environment Variables

To run the sample application on one machine, set the environment variables JAVA_HOME, J2EE_HOME, and J2MEWTK_HOME as follows:

Alternatively, the J2ME and J2EE parts of the sample application may be run on separate machines. To run (and build) the J2ME part of the sample application on one computer, you must set JAVA_HOME and J2MEWTK_HOME on the computer running the J2ME part. To run (and build) the J2EE part of the sample application on another computer, you must set JAVA_HOME and J2EE_HOME on the computer running the J2EE part.

Finally, your PATH must start with the directory $JAVA_HOME/bin (Linux and Solaris) or %JAVA_HOME%\bin (Windows).

Installing the Sample Application

To install the sample application, simply unzip the distribution bundle into any directory. This will create a folder called smart_ticket2.0. The rest of this documentation will refer to this directory as {smart_ticket.dir}.



© 2002, 2003 Sun Microsystems, Inc. All rights reserved.