C H A P T E R  3

Installing the IDE (Linux Systems)

This chapter describes how to install the IDE from files downloaded from the web.

The IDE installer installs the J2ME Wireless Toolkit 2.1 as the default device emulator. Optionally, you can also install the J2ME Wireless Toolkit 1.0.4 and the J2ME Wireless Connection Wizard module. You can install the IDE in two ways:

You can install the Sun Java Studio Mobility IDE in two ways:


Using the GUI Installer

You can install the Sun Java Studio IDE by downloading the jstudio_M04q3-linux-en.bin installer launcher from http://www.sun.com/prodtech/javatools/jsmobility/.

If you encounter errors at any point during the installation, refer to Chapter 11 for troubleshooting tips.


procedure icon  To Install the IDE

1. Verify that you have the J2SE, version 1.4.1_02 platform 0r later 1.4.x version installed on your system and that you have reviewed the space requirements.

See Chapter 1 for details.

2. Start the installation.

a. Download the jstudio_M04q3-linux-en.bin installer file from http://www.sun.com/prodtech/javatools/jsmobility/ and save it. (The directory you download it to will be referred to here as jstudio-download-directory.)

b. Set the execute permission on the jstudio_M04q3-linux-en.bin file.

% chmod a+x /jstudio-download-directory/jstudio_M04q3-linux-en.bin

c. Set the DISPLAY environment variable to display to your local system.

For example, if you use the bash shell, type:

# export DISPLAY=your-local-machine:0.0

d. Start the installer.

# /jstudio-download-directory/jstudio_M04q3-linux-en.bin

The Welcome page appears.

3. From the Welcome page, click Next and follow the instructions on the installer wizard pages.

The installer asks a series of questions, installs the product, and then displays the Summary page.

When prompted for the license serial number you have two options:

4. Click Finish to exit the installation wizard.

Installing as a superuser, the default installation directory is /opt/SUNWjstudio/Mobile04q3.If you only installed the IDE and installed it as a standard user, then the default installation directory is $HOME/SUNWjstudio/Mobile04q3 where $HOME is your home directory.

5. If you installed as a superuser, exit from superuser privileges.

6. Continue to Chapter 10 for information about setting up the Sun Java Studio Mobility IDE.


Using Command-Line Options During Installation

Command-line options for installing in silent mode are supported by the IDE installers. Some command-line options can be used with the GUI installer.

See Appendix B for details on using the command-line options and for installing in silent mode.