How to Install: Java Wireless Toolkit
Rose-Hulman Institute of Technology –
Computer Science & Software Engineering
Overview
Java ME Platform SDK is a state-of-the-art toolbox for developing mobile applications.
It provides the following features:
- device emulation,
- a standalone development environment, and
- a set of utilities for rapid development of Java ME applications.
Follow these instructions to install J2ME 2.5.2 on a Windows
machine. These instructions were tested on an installation of
Windows 7.
Download and Install J2ME 2.5.2
-
Login to your .\localmgr account
on your computer.
-
Verify that you have an installation of Java Standard Edition Development Kit (JDK) 6 or later.
If not, you can install one using
these instructions.
Now that you have a JDK installed, you are ready to install
J2ME 2.5.2
-
Point your browser to
http://www.oracle.com/technetwork/java/javame/downloads/index.html
to download the Sun Java Wireless Toolkit 2.5.2 for CLDC.
-
It is the third option in the list of J2ME SDKs.
-
Click the download link for Java Wireless Toolkit 2.5.2 for CLDC
-
Verify that your computer meets the hardware
requirements.
-
Click the download button that corresponds with your
platform.
-
Select your platform, make sure you agree to the Sun
Java Wireless Toolkit 2.5.2_01 for CLDC License
Agreement., then click Continue.
-
Download the Required File, Sun Java Wireless
Toolkit 2.5.2_01 for CLDC and save it on your
computer to a location that you will remember. The
download should complete within a minute or two
depending on you connection speed.
-
Follow these instructions for installation
-
Find the Required File you downloaded in step 3 above
and double click it to run it.
You may get a message that says "The publisher could not
be verified. Are you sure you want to run this software?"
Ignore the warning and run it by clicking the Run
button. It will not harm your system.
-
Click the Next button when the installSheild Wizard
appears.
-
Accept the License Agreement by clicking the
Accept button.
-
You will now be asked to choose your Java [TM] Virtual
Machine Location. Accept the default or browse
to the location of your choice JVM.
-
Click the Next button.
-
The next screen will ask you to choose a destination
location for installing Sun Java Wireless
Toolkit. Accept the default location
or select one of your choice.
-
Click the Next button.
-
Select a Program (start menu) Folder the installation
(or again, accept the default).
-
Click the Next button.
-
Make sure the box is selected to Check for Product
Updates and click the Next button.
-
When asked to Start Copying Files, click the
Next button.
- Wait a couple minutes while it installs the updates, then click
the Finish button. That completes your installation.
Verify that your installation works
Now that you have a Java Wireless Toolkit installed on your machine,
you can open existing projects, create new projects, and run them on
a mobile device emulator or on an actual physical device.
Follow the instructions below for opening an existing project and
running it in a mobile device emulator.
-
Locate the Sun Java (TM) Wireless Toolkit 2.5.2_01 for CLDC
Folder on your Windows Machine. You can do this by
clicking on Start Menu
→
All Programs, and scrolling to the folder.
-
Expand the folder in step 1 and click on Wireless Toolkit
2.5.2.
-
Click Open Project and select from the list of available
projects.
-
Double click on the project you selected (e.g., Audiodemo).
-
Click the Run button and voila! You are now ready to
run the selected application on your mobile device emulator.
-
Select from the games provided (e.g., Bouncing Ball).
Select a background of your choice and have fun with it.
Configuring Eclipse for J2ME Development
Follow these instructions to configure Eclipse for developing your
J2ME applications.