C H A P T E R 3 |
Installing the Forte for Java 4 IDE |
This chapter contains information on how to install Forte for Java 4, Community Edition on each of the supported platforms. The subdirectories installed with the IDE are described and uninstallation instructions are also provided.
To upgrade your previous version of the IDE to Forte for Java 4 software, you must do one of the following:
If you want to share a Forte for Java installation between multiple users, you must install the Forte for Java 4 IDE into a shared directory.
After installation of the IDE in the supported Solaris environment or Red Hat Linux environment, all user settings are stored in the ffjuser40ce directory created under each user's home directory. This occurs for both shared and unshared installations.
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 occurs for both shared and unshared installations.
The recommended name for the user directory in a Microsoft Windows system is drive:fully-qualified-path\ffjuser40ce. This name is entered as the UserDir value of the Software\SunMicrosystems, Inc.\Forte for Java key in the HKEY_CURRENT_USER registry. This value is not deleted when the IDE is uninstalled. If the UserDir value is not explicitly deleted from the Microsoft Windows Registry, it will be reused by future installations of this version of the IDE. Refer to some troubleshooting information in Chapter 7, if you want to use a different location for your user directory.
These instructions describe the installation process for each of the supported platforms.
You can install the Forte for Java 4 IDE on a supported Microsoft Windows system through an .exe file.
1. If you have not already done so, download the ffj_ce_win32_en.exe installer file from http://www.sun.com/software/sundev/jde/buy/index.html or locate the file on the Forte for Java 4 product CD.
If you are downloading the file from the product download page, save it into the ffj-download-directory.
2. Double-click the ffj_ce_win32_en.exe file in the ffj-download-directory or on the Forte for Java 4 product CD.
The InstallShield's Welcome screen appears.
Note - If you encounter errors at any point during the Forte for Java 4 IDE installation, refer to Chapter 7 for some troubleshooting hints. |
3. In the Welcome screen, click Next.
4. Read the license agreement carefully. To proceed, accept the terms of the license agreement, and click Next.
You must agree to the license to continue with the installation.
InstallShield attempts to locate a compatible Java 2 SDK v. 1.3.1 or v. 1.4.0 on your system.
5. Set the location of compatible Java 2 SDK software and click Next.
The Forte for Java 4 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 software to use by doing one of the following:
Click Next after you have set the Java 2 SDK location.
6. Accept the default installation folder or click Browse to install the IDE in a different folder. Click Next to continue.
Note - The installation directory name cannot contain any spaces and it must be an empty or new directory. |
7. Select the Forte for Java 4 components you want to install.
The following components are available:
8. Confirm your installation choices in the installation summary dialog box and click Next.
InstallShield installs the Forte for Java 4 components you have selected.
9. Decide whether you want to associate .java and .nbm files with the Forte for Java 4 IDE. Click Next to continue.
If you decide to associate these file types, the Forte for Java 4 IDE will automatically launch when you open these files.
10. Click Finish to complete the installation.
11. Review the Release Notes file for important information regarding the release. You can access the Release Notes from the product CD or from http://forte.sun.com/ffj/documentation/index.html.
12. Continue to Chapter 4 for information on setting up the Forte for Java 4 IDE.
You can install the Forte for Java 4 IDE in a supported Red Hat Linux environment with a .bin file.
1. If you have not already done so, download the ffj_ce_linux_en.bin installer file from http://www.sun.com/software/sundev/jde/buy/index.html or locate the file on the Forte for Java 4 product CD.
If you are downloading the file from the product download page, save it into the ffj-download-directory.
2. Set the DISPLAY environment variable to display to your local system.
If you are installing to your local system, the DISPLAY environment variable should be set to :0.0. If you are using a superuser (root) account or are doing a remote installation, set your superuser session's DISPLAY environment variable to display to your local system.
For example, to set the variable from a root account running C-shell, type the following in your superuser session command prompt:
# setenv DISPLAY your-local-system:0.0 |
3. Set the execute permission on the ffj_ce_linux_en.bin file and execute it by double-clicking the file from the Forte for Java 4 product CD or by typing the following:
$ cd ffj-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 Forte for Java 4 IDE installation, refer to Chapter 7 for some troubleshooting hints. |
4. In the Welcome screen, click Next.
5. Read the license agreement carefully. To proceed, accept the terms of the license agreement, and click Next.
You must agree to the license to continue with the installation.
InstallShield 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 Forte for Java 4 IDE requires local or network access to either v. 1.3.1 software or v. 1.4.0 of the Java 2 SDK software. Specify which installed software to use by doing one of the following:
Click Next after you have set the Java 2 SDK location.
7. Accept the default installation directory 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 Forte for Java 4 components you want to install.
The following components are available:
9. Confirm your installation choices in the installation summary dialog box and click Next.
InstallShield installs the Forte for Java 4 components you have selected.
10. Click Finish to complete the installation.
11. Review the Release Notes file for important information regarding the release. You can access the Release Notes from the product CD or from http://forte.sun.com/ffj/documentation/index.html.
12. Continue to Chapter 4 for information on setting up the Forte for Java 4 IDE.
You can install the Forte for Java 4 IDE in a supported Solaris operating environment with a .bin file.
1. If you have not already done so, download the ffj_ce_solsparc_en.bin installer file from http://www.sun.com/software/sundev/jde/buy/index.html or locate it on the Forte for Java 4 product CD.
If you are downloading the file from the product download page, save it into the ffj-download-directory.
2. Set the DISPLAY environment variable to display to your local system.
If you are installing to your local system, the DISPLAY environment variable should be set to :0.0. If you are using a superuser (root) account or are doing a remote installation, set your superuser session's DISPLAY environment variable to display to your local system.
For example, to set the variable from a root account running C-shell, type the following in your superuser session command prompt:
# setenv DISPLAY your-local-system:0.0 |
3. Set the execute permission on the ffj_ce_solsparc_en.bin file and execute it by double-clicking the file from the Forte for Java 4 product CD or by typing the following:
$ cd ffj-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 Forte for Java 4 IDE installation, refer to Chapter 7 for some troubleshooting hints. |
4. In the InstallShield's Welcome screen, click Next.
5. Read the license agreement carefully. To proceed, accept the terms of the license agreement, and click Next.
You must agree to the license to continue with the installation.
InstallShield 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 Forte for Java 4 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 by doing one of the following:
Click Next after you have set the Java 2 SDK location.
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 Forte for Java 4 components you want to install.
The following components are available:
9. Confirm your installation choices in the installation summary pane and click Next.
InstallShield installs the Forte for Java 4 components you selected.
10. Click Finish to complete the installation.
11. Review the Release Notes file for important information regarding the release. You can access the Release Notes from the product CD or from http://forte.sun.com/ffj/documentation/index.html.
12. Continue to Chapter 4 for information on setting up the Forte for Java 4 IDE.
If you prefer to install the Forte for Java 4 IDE using the command line, use the following steps to guide you.
1. Choose which method of command-line installation you want to use.
There are two methods of using the command-line options for this edition of the IDE. Choose from the following methods:
Note - Use the ffj_ce_en.jar file to install the IDE on platforms that are not fully supported for the Forte for Java 4 release, such as the Solaris 8 operating environment (Intel platform). |
2. 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 Forte for Java 4 product CD.
Save the installer file into the ffj-download-directory.
3. If you chose to use the installer.sp file for your command-line installation, create it in the ffj-download-directory.
The IDE installer will read 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 ffj-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 it in the ffj-download-directory.
If you chose to type the installation options directly on the commandline, 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 might have the following contents:
fh=C:\forte4j jh=C:\j2sdk1.4.0 pi=yes |
On a Solaris environment, the ffj_ce_solsparc_en.sp might have the following contents:
fh=/yourserver/forte4j jh=/usr/j2se pi=yes |
6. Execute the installer from the command line.
For example, on a Microsoft Windows system, type the following in a command prompt window:
C:\>cd ffj-download-directory C:\ffj-download-directory> ffj_ce_win32_en.exe -silent |
In a Solaris environment, type the following in a terminal window, for example:
$ cd ffj-download-directory $ ffj_ce_solsparc_en.bin -silent |
The installer displays the following on the command prompt or terminal window:
InstallShield Wizard Initializing InstallShield Wizard... Searching for Java(tm) Virtual Machine... ......... Running InstallShield Wizard... |
For example, on a Microsoft Windows system, type the following in a command prompt window:
C:\> java -Dfh=C:\forte4j -Djh=C:\j2sdk1.4.0 -Dpi=yes -jar ffj_ce_en.jar |
Similarly, in a Solaris or Linux environments, type the following in a command prompt window, for example:
$ java -Dfh=/yourserver/forte4j -Djh=/usr/j2se -Dpi=yes -jar ffj_ce_en.jar |
If there are any errors encountered, messages are displayed on the command prompt or terminal window.
Note - If you encounter errors at any point during the Forte for Java 4 IDE installation, refer to Chapter 7 for some troubleshooting hints. |
7. Continue to Chapter 4 for information on setting up the Forte for Java 4 IDE.
After you have installed the Forte for Java 4 IDE, the subdirectories listed in TABLE 3-2 can be found under ffj-install-dir, your Forte for Java 4 installation directory.
An uninstaller wizard is available to assist you in the uninstallation of the Forte for Java 4 IDE. Follow these steps to uninstall your copy of the Forte for Java 4 IDE:
1. Start the uninstaller from the ffj-install-dir/_uninst directory.
$ java -jar uninstall.jar |
The uninstaller's Welcome screen appears.
2. Click Next from the Welcome screen.
A list of Forte for Java 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.