C H A P T E R 4 |
Using Your Newly Installed Forte for Java 4 IDE |
After you have successfully installed the Forte for Java 4 IDE, use the information in this chapter to launch, set up, and register your Forte for Java 4 IDE. Details about the available command-line switch options are also included.
When you first start up the Forte for Java 4 IDE, you are prompted to:
Use the following steps to guide you through setup of your initial IDE environment:
1. Start the Forte for Java 4 IDE.
$ cd ffj-install-dir/bin $ runide.sh |
C:\>cd ffj-install-dir\bin C:\ffj-install-dir\bin>runidew.exe |
2. On a Microsoft Windows system, type the name of the directory where you want the IDE to store your settings and project information, and click OK.
Ensure that the directory you choose is in a place that is always accessible to your system. If you have different versions of the IDE, use a different user directory for each IDE version. This directory should be different than the directory where the IDE is installed.
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. The name will be reused by future installations of this version of the IDE if the UserDir value is not explicitly deleted from the Microsoft Windows Registry. Refer to some troubleshooting information in TABLE 9-3, if you want to use a different location for your user directory.
The Settings Import wizard appears.
3. In the Settings Import wizard, specify whether you want to import your settings from a previous version of the IDE.
You are prompted for the location of the user directory for the previously installed IDE.
i. Specify the path or click Browse to locate the directory. Click Next.
ii. Click Finish to exit the wizard.
The IDE continues with the startup and the Setup wizard appears.
4. If you are behind a firewall, specify the proxy server information.
5. Select the window mode, and click Next to continue with the setup.
6. Click Finish to continue with IDE startup, or click Next for additional setup options.
If you clicked Finish, the IDE continues with the startup and several windows appear. The registration wizard appears. Continue with Step 10 below.
(Solaris only) If you clicked Next and you installed the Solaris Developer Modules, the Text Editor Preference pane appears. Continue with Step 7.
Otherwise, if you clicked Next, the Module Installation pane appears. Continue with Step 8.
7. (Solaris only) In the Text Editor Preference pane, select the text editor you choose to use with the IDE. Then, click Next to continue with the setup, or Finish to continue with the IDE startup.
The installation of the Solaris Developer Modules includes the XEmacs and VIM text editors. You can select from the IDE's built-in editor, XEmacs, or VIM as the default text editor to use with the IDE. If you decide to modify the default text editor at a later time, choose Tools Setup Wizard from the main menu of the IDE.
If you clicked Finish, the IDE continues with the startup and several windows appear. The registration wizard appears. Continue with Step 10 below.
Otherwise, if you clicked Next, the Module Installation pane appears.
8. In the Module Installation pane, specify which module you want enabled or disabled. Then, click Next to continue with the setup, or Finish to continue with the IDE startup.
By default, all the modules installed with the IDE are enabled. Disable a module by doing the following:
a. Click on the Enabled property value for the module.
b. Click a second time and select False to disable the module.
If you clicked Finish, the IDE continues with the startup and several windows appear. The registration wizard appears. Continue with Step 10 below.
If you clicked Next, the Update Center pane appears.
9. From the Update Center pane, Specify how often you want the IDE to automatically check the Update Center and select the Forte for Java Update Center as the update center from which you want to obtain the updates for modules of your choice.
Click Finish to continue with the IDE startup. Several windows appear and the registration wizard appears.
10. From the Registration wizard, select your preferred method of registration.
The registration page appears on your web browser and you can proceed to register the product, create a new Forte for Java Developer Resources account, or update your account.
Registering your Forte for Java 4 IDE through the web enables you to:
If you are already registered with the Forte for Java Developer Resources, Sun Download Center, or mysun.sun.com, you can use the same user name and password, but you are prompted for additional information.
Note - To maintain your Forte for Java Developer Resources account using the web, choose Help |
This method of registration registers only your Forte for Java 4 IDE.
If you decide to register with Forte for Java Developer Resources at a later time, choose Help Registration Wizard from the main window of the IDE.
11. From the Automatic Update Check dialog box, specify whether you want to check for new IDE updates.
12. Continue to Chapter 5 for instructions on validating your installation of the IDE.
The IDE startup scripts for all supported platforms can be run with additional options. These command-line options are specified with flags.
In a supported Linux or Solaris environments, for example, you might type:
# runide.sh -help |
On a supported Microsoft Windows system, for example, you might type:
C:\>runidew.exe -help |
Alternatively, you can put the options in the ffj-install-dir/bin/ide.cfg file. The IDE reads this file before parsing any command-line options. You can break options into multiple lines in ide.cfg.
TABLE 4-1 lists the startup command-line options for all supported platforms.
In the Solaris and Linux environments, users can modify startup scripts to suit their needs.
Copyright © 2002, Sun Microsystems, Inc. All rights reserved.