C H A P T E R 3 |
Installing the Sun ONE Studio 4 IDE |
This chapter provides step-by-step instructions on how to install your Sun ONE Studio 4, Community Edition software from the product CD or from files downloaded electronically from the web. It contains installation instructions for each of the supported platforms. The subdirectories installed with the IDE are described, and uninstallation instructions are also provided.
You can install Sun ONE Studio 4, Community Edition as a standalone product or as part of a suite of products. When you install using the CD-ROM, you can select the product configuration during the install process. If you acquire this software as part of an electronic download, the product selection is already set for you when you start the installer.
To upgrade your previous version of the Forte for Java IDE to Sun ONE Studio 4 software, you must do one of the following:
If you want to share a Sun ONE Studio 4 installation between multiple users, you must install the IDE into a shared directory.
After installation of the IDE in a Microsoft Windows system, you must set your own user directory using a dialog box that appears immediately upon initial startup of the IDE from your machine. This placement occurs for both shared and unshared installations.
After installation of the IDE in the supported Solaris environment or Linux environment, all user settings are stored in the ffjuser40ce directory created under each user's home directory. This placement occurs for both shared and unshared installations.
These instructions describe the installation process for each of the supported platforms. You can install the Sun ONE Studio 4 IDE in two ways:
Running the installer requires 50 megabytes of free disk space in the /tmp directory on the computer that contains the product CD-ROM. Ensure that you have this space available before starting the installation process. This requirement applies to all the supported platforms.
You can install the Sun ONE Studio 4 IDE on a supported Microsoft Windows system by using the GUI installer on the product CD or by downloading an .exe file from the product download web page.
Note - You must have the J2SE, v. 1.3.1 platform or J2SE, v. 1.4.0_02 platform installed on your system before installing the IDE. The recommended option is the J2SE, v. 1.4.0_02 platform with the Sun ONE Studio 4 IDE. Read Chapter 2 for instructions on installing the software. |
a. Click Start, click Run, and browse to the CD directory.
b. Select startup.exe and click OK.
c. Click Run (or double-click setup.exe).
a. Download the ffj_ce_win32_en.exe installer file from the Sun ONE Studio 4 update 1 download page available at: http://www.sun.com/software/sundev/jde/buy/index.html
b. Save the file into the s1studio-download-directory.
c. Double-click the ffj__ce_win32_en.exe file in the s1studio-download-directory. The Welcome pane appears.
Note - If you encounter errors at any point during the Sun ONE Studio 4 installation, refer to Chapter 7 for troubleshooting hints. |
2. From the Product Selection pane, select Sun ONE Studio 4 update 1, Community Edition.
A brief description of this edition of the IDE appears under the list of products.
4. When the InstallShield wizard's welcome screen appears, click Next to continue.
The license agreement pane appears.
5. Read the license agreement carefully. To proceed, accept the terms of the license agreement, and click Next to continue.
You must agree to the license to continue with the installation.
The installer attempts to locate a compatible Java 2 SDK v. 1.3.1 or v. 1.4.0 on your system.
6. Set the location of compatible Java 2 SDK software, and click Next.
Sun ONE Studio 4 requires local or network access to either v. 1.3.1 or v. 1.4.0 of the Java 2 SDK software. Specify which installed Java 2 SDK software to use.
7. Accept the default installation folder, or click Browse to install the IDE in a different directory. Click Next to continue.
8. Select the Sun ONE Studio 4 components you want to install, and click Next.
The following components are available:
9. Determine whether you want to associate .java and .nbm files with the IDE. Click Next to continue.
If you decide to associate these file types, the IDE starts when you open these files.
10. Review the installation summary pane that displays the directory location of the IDE, the features you have selected, and the total size of the installation. Click Next.
11. When the installation is complete, click Finish to exit the installation wizard.
12. Review the release notes file for important information regarding the release. You can access the release notes from either one of these locations:
13. Continue to Chapter 4 for information on setting up the Sun ONE Studio 4 IDE.
You can install the IDE in a supported Linux environment by using the Sun ONE Studio 4 update 1 product CD or by electronically downloading a .bin file from the product download web page.
Note - You must have the J2SE, v. 1.3.1 platform or J2SE, v. 1.4.0 platform installed on your system before installing the Sun ONE Studio 4 IDE. The recommended option is the J2SE, v. 1.4.0_02 platform with the Sun ONE Studio 4 IDE.Read Chapter 2 for instructions on installing the software. |
a. Answer yes if you are prompted about whether you want to use Autorun to install the CD. The Product Selection pane appears.
a. Download the ffj_ce_linux_en.bin installer file from http://www.sun.com/software/sundev/jde/buy/index.html
b. Save the file into the s1studio-download-directory.
c. Set the DISPLAY environment variable to display to your local system.
# setenv DISPLAY your-local-system:0.0 |
d. Set the execute permission on the ffj_ce_linux_en.bin file, and execute the file by typing the following:
$ cd s1studio-download-directory $ chmod a+x ffj_ce_linux_en.bin $ ffj_ce_linux_en.bin |
Note - If you encounter errors at any point during the Sun ONE Studio 4 installation, refer to Chapter 7 for troubleshooting hints. |
2. When the Product Selection wizard appears, select Sun ONE Studio 4 update 1, Community Edition.
A description of this edition of the IDE appears under the list of products.
4. When the InstallShield wizard's welcome screen appears, click Next to continue.
The license agreement pane appears.
5. Read the license agreement carefully. To proceed, accept the terms of the license agreement, and click Next to continue.
You must agree to the license to continue with the installation.
The installer attempts to locate a compatible Java 2 SDK v. 1.3.1 or v. 1.4.0 on your system.
6. Set the location of compatible Java 2 SDK software, and click Next.
The IDE requires local or network access to either v. 1.3.1 or v. 1.4.0 of the Java 2 SDK software. Specify which installed Java 2 SDK software to use.
7. Accept the default installation folder, or click Browse to install the IDE in a different directory. Click Next to continue.
Note - The installation directory name cannot contain any spaces, and it must be an empty or new directory. |
8. Select the Sun ONE Studio 4 components you want to install, and click Next.
The following components are available:
9. Confirm your installation choice in the installation summary pane, and click Next.
The installation wizard installs the Sun ONE Studio 4 components you selected.
10. Review the installation summary pane that displays the directory location of the IDE, the features you have selected, and the total size of the installation. Click Next.
11. When the installation is complete, click Finish to exit the installation wizard.
12. Review the release notes file for important information regarding the release. You can access the Release Notes from either one of these locations:
13. Continue to Chapter 4 for information on setting up the Sun ONE Studio 4 IDE.
You can install the IDE in a supported Solaris operating environment by using the product CD or by downloading a .bin file from the product web page.
Note - You must have the J2SE, v. 1.3.1 platform or J2SE, v. 1.4.0 platform installed on your system before installing the IDE. The recommended option is the J2SE, v. 1.4.0_02 platform with the Sun ONE Studio 4 IDE. Read Chapter 2 for instructions on installing the software. |
If you are installing software from the Sun ONE Studio 4 update 1 product CD, insert the CD. (If you are running the Solaris 7 operating environment and you insert the product CD, a message appears stating that the product is not supported on Solaris 7 operating environment.)
a. If you are prompted to use Auto run, answer yes. The Product Selection pane appears.
a. Download the ffj_ce_solsparc_en.bin installer file from http://www.sun.com/software/sundev/jde/buy/index.html.
b. Save the file into the s1studio-download-directory.
c. Set the DISPLAY environment variable to display to your local system.
# setenv DISPLAY your-local-system:0.0 |
d. Set the execute permission on the ffj_ce_solsparc_en.bin file and execute the file by double-clicking it or by typing the following:
$ cd s1studio-download-directory $ chmod a+x ffj_ce_solsparc_en.bin $ ffj_ce_solsparc_en.bin |
Note - If you encounter errors at any point during the Sun ONE Studio 4 installation, refer to Chapter 7 for troubleshooting hints. |
2. From the Product Selection pane, select Sun ONE Studio 4 update 1, Community Edition.
A description of this edition of the IDE appears under the list of products.
4. When the InstallShield Wizard's welcome screen appears, click Next to continue.
The license agreement pane appears.
5. Read the license agreement carefully. To proceed, accept the terms of the license agreement, and click Next to continue.
You must agree to the license to continue with the installation.
The installer attempts to locate a compatible Java 2 SDK v. 1.3.1 or v. 1.4.0 on your system.
6. Set the location of compatible Java 2 SDK software, and click Next.
Sun ONE Studio 4 software requires local or network access to either v. 1.3.1 or v. 1.4.0 of the Java 2 SDK software. Specify which installed Java 2 SDK software to use.
7. Accept the default installation folder, or click Browse to install the IDE in a different directory. Click Next to continue.
Note - The installation directory name cannot contain any spaces, and it must be an empty or new directory. |
8. Select the Sun ONE Studio 4 components you want to install, and click Next.
The following components are available:
9. Confirm your installation choice in the installation summary pane, and click Next.
The installation wizard installs the Sun ONE Studio 4 components you selected.
10. Review the installation summary pane that displays the directory location of the IDE, the features you have selected, and the total size of the installation. Click Next.
11. When the installation is complete, click Finish to exit the installation wizard.
12. Review the release notes file for important information regarding the release. You can access the release notes from either of these locations:
13. Continue to Chapter 4 for information on setting up the IDE.
If you prefer to install the Sun ONE Studio 4 IDE using the command line, follow these steps. You need to create a file called installer.sp and add to the file the command-line options you want to use to install the IDE.
1. If you have not already done so, download the installer file for your supported platform from http://www.sun.com/software/sundev/jde/buy/index.html or locate the file on the Sun ONE Studio 4 product CD in the image/ffj_installers_ce directory.
Save the installer file into the s1studio-download-directory.
2. Select which method of command-line installation you want to use.
There are two ways to use the command-line options for this edition of the IDE. Select one of the following methods:
Note - Use the ffj_ce_en.jar file to install the IDE on platforms not fully supported for the Sun ONE Studio 4 release, such as the Solaris 8 operating environment (Intel platform). |
3. If you chose to use the installer.sp file for your command-line installation, create the appropriate file in the s1studio-download-directory.
The IDE installer reads the command-line options you include in the installer.sp file.
On a Microsoft Windows system, create a file called ffj_ce_win32_en.sp and place the file in the s1studio-download-directory. In the Solaris and Linux environments, name the file ffj_ce_solsparc_en.sp and ffj_ce_linux_en.sp, respectively, and place the file in the s1studio-download-directory.
If you chose to type the installation options directly on the command line, you do not need the installer.sp file.
4. Determine the command-line options and corresponding values you want to use.
TABLE 3-1 lists the different command-line options and their default values, if any. You can use either the long or short name for each option.
5. If you chose to use the installer.sp file, add the command-line options in that file.
For example, on a Microsoft Windows system, the ffj_ce_win32_en.sp file might have the following contents:
fh=C:\ffj jh=C:\j2sdk1.4.0_02 pi=yes |
In a Solaris environment, the ffj_ce_solsparc_en.sp file might have the following contents:
fh=/yourserver/ffj jh=/usr/j2se pi=yes |
6. Execute the installer from the command line.
C:\>cd s1studio-download-directory C:\s1studio-download-directory> ffj_ce_win32_en.exe -silent |
$ cd s1studio-download-directory $ ffj_ce_solsparc_en.bin -silent |
InstallShield Wizard Initializing InstallShield Wizard... Searching for Java(tm) Virtual Machine... ......... Running InstallShield Wizard... |
C:\> java -Dfh=C:\forte4j -Djh=C:\j2sdk1.4.0_02 -Dpi=yes -jar ffj_ce_en.jar |
$ java -Dfh=/yourserver/forte4j -Djh=/usr/j2se -Dpi=yes -jar ffj_ce_en.jar |
Note - If you encounter errors at any point during Sun ONE Studio 4 installation, refer to Chapter 7 for troubleshooting hints. |
7. Continue to Chapter 4 for information on setting up the Sun ONE Studio 4 IDE.
After you have installed the Sun ONE Studio 4 IDE, the subdirectories listed in TABLE 3-2 can be found under s1studio-install-directory, your Sun ONE Studio 4 installation directory.
An uninstaller wizard is available to assist you in the uninstallation of the IDE. Follow these steps to uninstall your copy of the Sun ONE Studio 4 IDE:
1. Start the uninstaller from the s1studio-install-directory/_uninst directory.
$ java -jar uninstall.jar |
The uninstaller's Welcome screen appears.
2. Click Next from the Welcome screen.
A list of Sun ONE Studio 4 components is displayed.
3. Select the components you want to uninstall and click Next.
4. Click Next to confirm the components to be uninstalled.
The uninstaller wizard proceeds with the uninstallation of the IDE.
Copyright © 2002, Sun Microsystems, Inc. All rights reserved.