How to Install: Java Wireless Toolkit (J2ME 2.5.2) on a Windows Machine

Mobile Game Development

Overview

Java ME Platform SDK is a state-of-the-art toolbox for developing mobile applications. It provides the following features:

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

  1. Login to an Administrator account on your Windows machine.
  2. 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

  3. Download the Sun Java Wireless Toolkit 2.5.2 for CLDC from here: http://www.rose-hulman.edu/class/csse/binaries/csmobilegames/sun_java_wireless_toolkit-2.5.2_01-win.exe
  4. Follow these instructions for installation
    1. 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.

    2. Click the Next button when the installSheild Wizard appears.
    3. Accept the License Agreement by clicking the Accept button.
    4. 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.
    5. Click the Next button.
    6. The next screen will ask you to choose a destination location for installing Sun Java Wireless ToolkitAccept the default location or select one of your choice. 
    7. Click the Next button.
    8. Select a Program (start menu) Folder the installation (or again, accept the default).
    9. Click the Next button.
    10. Make sure the box is selected to Check for Product Updates and click the Next button.
    11. When asked to Start Copying Files, click the Next button.
    12. 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.

  1. 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.
  2. Expand the folder in step 1 and click on Wireless Toolkit 2.5.2.
  3. Click Open Project and select from the list of available projects.
  4. Double click on the project you selected (e.g., Audiodemo).
  5. Click the Run button and voila! You are now ready to run the selected application on your mobile device emulator.
  6. 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.