C H A P T E R  1

Preparing for Installation

This chapter contains information that you need before you install the Suntrademark Javatrademark Studio Mobility 6 IDE. This release of Sun Java Studio includes the J2ME Wireless Toolkit, J2ME Wireless Connector Wizard, the RetroGuard obfuscator, and support for the ProGuard obfuscator. The installation of these products with the Sun Java Studio installer results in an integrated enterprise level tool for developing and deploying applications written in the Javatrademark programming language using J2ME and J2EE concepts.

This chapter covers:


Overview of the Installation Process

This section describes the general process for installing and configuring the Sun Java Studio IDE on your system.

TABLE 1-1 Overview of IDE Installation and Configuration .

Task

For Instructions

Verify that your platform is supported.

Supported Platforms

Verify the system and disk space requirements.

System and Disk Space Requirements

Verify that you have access to the required version of the J2SE platform.

Verifying Your J2SE Platform

Determine if you have the correct permissions to install the IDE.

Having the Correct User Privileges

Determine if you want to keep your previous version of the IDE.

Supporting Previous Software Releases

Install the IDE.

Set up your initial IDE environment.

Setting Up the IDE



Supported Platforms

The Sun Java Studio Mobility IDE is supported on the following platforms:

The J2ME Wireless Toolkit has been tested with the following systems:

The J2ME Wireless Toolkit has been tested on a limited basis with the following, unsupported systems:



Note - The platforms supported by the Java Studio Mobility IDE might differ from those supported by the emulator you plan to use. You should verify that both the Java Studio Mobility IDE and the emulator you plan to use are supported on your particular platform.




System and Disk Space Requirements

TABLE 1-2 lists the system requirements needed to install a minimum configuration on any of the supported platforms.

TABLE 1-2 Sun Java Studio Mobility System Requirements

Supported Platforms

Minimum Configuration

Windows 2000,
Windows XP

Pentium III, 500 MHz

256 MB RAM

Red Hat Linux 8.0
Sun Java Desktop System 1.0

Pentium III 500 MHz

256 MB RAM

Solaris 8 and Solaris 9 operating systems (32- bit/64-bit, UltraSPARC® platform)

Ultratrademark60, 450 MHz

384 MB RAM


These are general guidelines. Your requirements might vary depending on which additional software you have installed for use with the Sun Java Studio.

Disk Space Requirements

The following section lists the disk space requirements by platform.

Temporary Space Requirement

Running the installer requires sufficient temporary space to unpack the installation files.

Space Requirements by Platform

The space requirements are described in TABLE 1-3 for Microsoft Windows and TABLE 1-4 for Linux systems.

TABLE 1-3 Disk Space Requirements for Microsoft Windows

Directory

Java Studio Mobility IDE with Wireless Connector Wizard and J2ME Wireless Toolkit 1.0.4

jstudio-install-directory

125 MB (an additional 100 MB is required for installation).


TABLE 1-4 Disk Space Requirements for Linux OS

Directory

Java Studio Mobility IDE with Wireless Connector Wizard and J2ME Wireless Toolkit 1.0.4

jstudio-install-directory

125 MB (an additional 100 MB is required for installation).


TABLE 1-5 Disk Space Requirements for Solaris OS

Directory

Java Studio Mobility IDE with Wireless Connector Wizard and J2ME Wireless Toolkit 1.0.4

jstudio-install-directory

125 MB (an additional 100 MB is required for installation).


  


Verifying Your J2SE Platform

To install the Sun Java Studio IDE you must have one of the following:



Note - To maximize runtime performance, the J2SE platform should be installed on and accessed from your local system.



You can find the J2SE platform versions at http://java.sun.com/j2se/downloads.html.

At this site, you can access current versions as well as archived J2SE platform versions. Sun maintains the download site for previously released versions of the J2SE platform and related products that have completed the end-of-life process and are no longer covered by standard support contracts. These downloads are made available as a courtesy to developers to assist in problem resolution. Look for the section titled "Download Archived Releases" or the Archived Downloads link.


procedure icon  To Determine Your Current J2SE Platform Version

The output looks similar to the following:

java -version
java version "1.4.1_02"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_02-b02)
Java HotSpot(TM) Client VM (build 1.4.1_02-b02, mixed mode)

If you do not have the J2SE version 1.4.1_02 platform or later 1.4.x version available to your system, you must install the supported platform.

Depending on how you have your PATH environment variable set, the java -version command may not return complete results. If this command does not return the correct version and you know you have a suitable J2SE version on your system, use the command line option, -is:javahome, to specify the path. See Appendix B for details.


procedure icon  To Install the J2SE Platform

1. Obtain the appropriate platform-specific installer file from http://java.sun.com/j2se/downloads.html.

TABLE 1-6 lists the installer file names for each supported platform.

2. Install the J2SE version 1.4.1_02 platform or later 1.4.x version on your system.

Installation instructions can be found on the web site.

TABLE 1-6 J2SE Software Installer File Names

Platform

Companion CD Directory

Installer File Name

Microsoft Windows

j2sdk\windows

j2sdk-1_4_1_02-windows-i586.exe

Linux OS

j2sdk/linux

j2sdk-1_4_1_02-linux-i586-rpm.bin

Solaris OS 32-bit

j2sdk/solaris_sparc

j2sdk-1_4_1_02-solaris-sparc.tar.Z

Solaris OS 64-bit

j2sdk/solaris_sparc

j2sdk-1_4_1_02-solaris-sparcv9.tar.Z



Supporting Previous Software Releases

To upgrade your previous version of the Sun Java Studio Mobility IDE, you must do one of the following:

To use the same installation directory as the previous IDE version, first uninstall the previous version of the IDE prior to installing Sun Java Studio Mobility software. See the Getting Started Guide for your currently installed version of the IDE.


Having the Correct User Privileges

You must have Administrator privileges to install the Sun Java Studio Mobility on the Windows 2000 or Windows XP platforms.