| Java[tm] Smart Ticket Sample Application 2.0 Early Access > Installation |
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:
Java 2 Platform, Standard Edition SDK (J2SETM SDK): v1.4.1 download
The J2SE SDK, v1.4.1 is available for Solaris, Linux, and Windows 95/98/ME/NT/2000 platforms.
Java 2 Platform, Enterprise Edition SDK (J2EETM SDK): v1.3.1 download
The J2EE SDK, v1.3.1 is available for Solaris, Linux, and Windows NT/2000 platforms.
Java 2 Platform, Micro Edition Wireless Toolkit (J2METM Wireless Toolkit): v2.0 download
The J2ME Wireless Toolkit, v2.0 is available for Solaris, Linux, Windows 95/98/ME/NT/2000.
For more information on the system requirements of the above items, please refer to their respective documentation sets.
To run the sample application on one machine, set the environment
variables JAVA_HOME, J2EE_HOME, and
J2MEWTK_HOME as follows:
JAVA_HOME must point to the root directory of your
J2SE SDK installation. For example, if you installed the J2SE SDK in
/usr/local/java/j2sdk1.4.1 or c:\jdk1.4.1,
then that path should be the value of JAVA_HOME.
J2EE_HOME must point to the root directory of your
J2EE SDK installation. For example, if you installed the J2EE SDK in
/usr/local/java/j2sdkee1.3.1 or
c:\j2sdkee1.3.1, then that path should be the value of
J2EE_HOME.
J2MEWTK_HOME must point to the root directory of
your J2ME Wireless Toolkit installation. For example, if you installed
the toolkit in /usr/local/java/wtk20 or
c:\wtk20, then that path should be the value of
J2MEWTK_HOME.
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).
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}.