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, Enterprise 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 ffjuser40ee 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\ffjuser40ee. 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 9, 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_ee_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, do the following:
a. Save it into the ffj-download-directory.
b. Write down the serial number provided to you on the download page.
If you are accessing the file from the Forte for Java 4 product CD, locate the serial number in the Forte for Java 4 product package.
2. Double-click the ffj_ee_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 9 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. Type the serial number provided with the product CD or available from the product download page. Alternatively, click Next without entering a serial number to generate a trial serial number.
a. Click Yes to automatically generate a trial serial number.
The trial serial number expires in 60 days.
b. Write down the trial serial number that appears.
The trial serial number gives you access to the Update Center services once you have registered the product. Read Chapter 4 for product registration information and Updating Modules With the Update Center for information on the Forte for Java Update Center.
c. Click Next a second time to continue with the installation.
7. 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. |
8. Select the Forte for Java 4 components you want to install.
The following components are available:
Note - The best option is to install the J2EE Reference Implementation 1.3.1 and the PointBase Server 4.2 Restricted Edition with the IDE. These software products are provided to enable you to quickly develop a simple J2EE application, as described in Chapter 5. |
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. 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.
11. Click Finish to complete the installation.
12. 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.
13. 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_ee_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, do the following:
a. Save it into the ffj-download-directory.
b. Write down the serial number provided to you on the download page.
If you are accessing the file from the Forte for Java 4 product CD, locate the serial number in the Forte for Java 4 product package.
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_ee_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_ee_linux_en.bin $ ffj_ee_linux_en.bin |
Note - If you encounter errors at any point during the Forte for Java 4 IDE installation, refer to Chapter 9 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. Type the serial number provided with the product CD or available from the product download page. Alternatively, click Next without entering a serial number to generate a trial serial number.
a. Click Yes to automatically generate a trial serial number.
The trial serial number expires in 60 days.
b. Write down the trial serial number that appears.
The trial serial number gives you access to the Update Center services once you have registered the product. Read Chapter 4 for product registration information and Updating Modules With the Update Center for information on the Forte for Java Update Center.
c. Click Next a second time to continue with the installation.
8. 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. |
9. Select the Forte for Java 4 components you want to install.
The following components are available:
Note - The best option is to install the J2EE Reference Implementation 1.3.1 and the PointBase Server 4.2 Restricted Edition with the IDE. These software products are provided to enable you to quickly develop a simple J2EE application, as described in Chapter 5. |
10. Confirm your installation choices in the installation summary dialog box and click Next.
InstallShield installs the Forte for Java 4 components you have selected.
11. Click Finish to complete the installation.
12. 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.
13. 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_ee_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, do the following:
a. Save it into the ffj-download-directory.
b. Write down the serial number provided to you on the download page.
If you are accessing the file from the Forte for Java 4 product CD, locate the serial number in the Forte for Java 4 product package.
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_ee_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_ee_solsparc_en.bin $ ffj_ee_solsparc_en.bin |
Note - If you encounter errors at any point during the Forte for Java 4 IDE installation, refer to Chapter 9 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. Type the serial number provided with the product CD or available from the product download page. Alternatively, click Next without entering a serial number to generate a trial serial number.
a. Click Yes to automatically generate a trial serial number.
The trial serial number expires in 60 days.
b. Write down the trial serial number that appears.
The trial serial number gives you access to the Update Center services once you have registered the product. Read Chapter 4 for product registration information and Updating Modules With the Update Center for information on the Forte for Java Update Center.
c. Click Next a second time to continue with the installation.
8. 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. |
9. Select the Forte for Java 4 components you want to install.
The following components are available:
Note - The best option is to install the J2EE Reference Implementation 1.3.1 and the PointBase Server 4.2 Restricted Edition with the IDE. These software products are provided to enable you to quickly develop a simple J2EE application, as described in Chapter 5. |
10. If you chose to install the Solaris Developer Modules, specify the path to the Forte Compiler Collection (FCC).
If you are installing the IDE on a server that will be accessed by multiple users, the path name specified for the FCC software must be valid and accessible to all those IDE users.
If you have not installed the Forte Compiler Collection or you do not readily know the path to the Forte Compiler Collection, leave the FCC Path blank and click Next.
The Forte Compiler Collection software refers to an installation of Forte Developer 7 software and you can download it from http://www.sun.com/software/sundev/suncc/buy/.
You can set or reset the FCC path at a later time by using the forte_fcc utility, which can be found in ffj-install-dir/bin/forte_fcc. Read the forte_fcc man page at ffj-install-dir/man/man1 for additional information.
11. Confirm your installation choices in the installation summary pane and click Next.
InstallShield installs the Forte for Java 4 components you selected.
12. Click Finish to complete the installation.
13. 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.
14. 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. 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 Forte for Java 4 product CD.
a. Save the installer file into the ffj-download-directory.
b. Write down the serial number provided to you on the download page or locate the serial number in the Forte for Java 4 product package, if you are using the product CD.
2. Create an installer.sp file 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_ee_win32_en.sp and place the file in the ffj-download-directory.
For the Solaris and Linux environments, name the file ffj_ee_solsparc_en.sp and ffj_ee_linux_en.sp, respectively.
3. Determine the command-line options and corresponding values you want to use, and include them in the installer.sp file.
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.
For example, on a Microsoft Windows system, the ffj_ee_win32_en.sp might have the following contents:
fh=C:\forte4j jh=C:\j2sdk1.4.0 sn=trial pi=yes ji=yes |
On a Solaris environment, the ffj_ee_solsparc_en.sp might have the following contents:
fh=/yourserver/forte4j jh=/usr/j2se sn=trial pi=yes ji=yes si=yes fch=/yourserver/fcc |
4. Invoke 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_ee_win32_en.exe -silent |
In a Solaris environment, type the following in a terminal window, for example:
$ cd ffj-download-directory $ ffj_ee_solsparc_en.bin -silent |
The installer uses the options you have specified in the installer.sp file for your system and displays the following on the command prompt window:
InstallShield Wizard Initializing InstallShield Wizard... Searching for Java(tm) Virtual Machine... ......... Running InstallShield Wizard... |
If there are any errors encountered, messages are displayed on the command prompt window.
Note - If you encounter errors at any point during the Forte for Java 4 IDE installation, refer to Chapter 9 for some troubleshooting hints. |
5. 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.