MIT OpenCourseWare
  • OCW home
  • Course List
  • about OCW
  • Help
  • Feedback
  • Support MIT OCW

Related Resources

Installing Forte for Java® CE

Downloading Forte for Java® Community Edition 3.0 CE [NB: Forte is now Sun ONE Studio™]
  1. To download Forte, go to the following URL http://www.sun.com/forte/ffj/buy.html. In the Community Edition part, click on Download in the Forte for Java®, release 3.0 table.
  2. Click on the register link and fill out the form to receive a username and password to access Sun's Download Center.
  3. After accepting the software license agreement, you should be ready to download Forte. By now, you should be transferred to the "Receipt" page from where you can download Forte. Choose the Download [Windows] Forte for Java®, release 3.0, Community Edition, Multi-Language (.exe format) (29.94 MB) link (Assuming you are running on a Windows Platform), and then choose the location where you want to save the installation file on your computer. 
  4. A self-installing executable file called forte_ce_3 should now be saved on your computer.

Before Installing Forte, you should make sure you have the Java® 2 SDK v1.3 installed on your machine. If you have it installed, skip the next two sections and go to Installing and Running Forte for the First Time. Otherwise, follow the instruction for downloading and installing Java® 2 SDK v1.3.1.

Downloading and Installing the Java® 2 Platform version 1.3.1
  1. Go to the following URL http://java.sun.com/j2se/1.3/ and choose the Microsoft Windows download.
  2. In the Download Java® 2 SDK, v 1.3.1 Software for Windows 95 / 98 / 2000 / NT 4.0 / ME (Intel Platform), click on the continue button.
  3. After accepting the license agreement and choosing one of the FTP downloads, choose the path where you want your installation file to be saved on your computer.
  4. A self-installing file called j2sdk-1_3_1-win.exe should now be saved on your computer.
  5. Double click on the j2sdk-1_3_1-win.exe. Follow the on-screen instructions to complete the installation. During installation a dialog box will ask you to select the components you want to install. Select all the components.
  6. When done with the installation, you can delete the download file to recover disk space.
Downloading and Installing the Java® 2 SDK Documentation

You should have approximately 120 MB of free disk space before installing the documentation. In case you don't want to install the Java® 2 SDK Documentation, you can still browse it at the following URL: http://java.sun.com/j2se/1.3/docs/index.html. Having the documentation on your machine allows you to get an online "keyword search" help inside the IDE. You will be able to select a keyword and press Alt-F1 to get the documentation associated with it.

 

To install the documentation, follow these instructions:

  1. Go to the following URL http://java.sun.com/j2se/1.3/ and choose the Microsoft Windows download.
  2. Click on the Browse and Download Java® 2 SDK, v1.3.1 Documentation link.
  3. The official complete set of documentation is only available in the HTML format. In the Download Java® 2 SDK 1.3.1 Docs - HTML Format, click on the continue button.
  4. After accepting the license agreement and choosing one of the FTP downloads, choose the path where you want your zip file to be saved on your computer.
  5. A file called j2sdk-1_3_1-doc.zip should now be saved on your computer. Unbundle the documentation using a zip-compatible utility such as winzip, unzip, gunzip, or pkunzip. In case you don't have a zip utility, we suggest you go to the winZip website (www.winzip.com) and download and install the 8.1 Evaluation Version.
  6. Unbundling the Java® 2 SDK documentation creates a docs directory in the current folder, putting all the documentation inside that directory. We suggest that you move the docs directory inside the jdk1.3.1 folder so that Forte, when being installed, detects it and adds it to its Javadoc search path.
  7. To view the documentation outside Forte for Java®, open the docs/index.html page in a browser. This is the front page and table of contents of the Java® 2 SDK documentation.
  8. When done, you can delete the download file to recover disk space.
Installing and Running Forte for the First Time
  1. Double click on the forte_ce_3 file you have downloaded. Follow the on-screen instructions to complete the installation. During installation you will be asked the followings:
    • Choose a compatible Java® Virtual Machine: if you have the Java® SDK v1.3.1 installed properly, the setup will detect it. Accept the compatible Java® Virtual Machine that the setup has found by pressing next (Note: there is a bug in the Forte installation. If you have Java® SDK v.1.3.1 installed, Forte installation will detect it as Java® SDK 1.3 and will issue a warning. Ignore the warning and continue). In case you have the Java® SDK v.1.3.1 installed and the setup didn’t detect it, find the folder where you have the Java® SDK 1.3.1 installed and select the bin directory inside the Java™ SDK root directory. In case you don't have the Java™ SDK 1.3.1 or higher, go back to Downloading and Installing the Java® 2 Platform version 1.3 section of this handout and follow the instructions.
    • Select Components: Setup will ask you for the components you want to install. Choose Forte for Java® Platform and Core Modules (You don’t need PointBase). Leave the destination folder as c:\forte4j.
    • Associate .java and .nbm files with Forte for Java®: Setup will ask you which file extensions you want to associate with Forte. Check both Associate .java files with the IDE and Associate .nbm files with the IDE
  2. Once the installation is complete, you can delete the download file to recover disk space. Run Forte. Since it is the first time you are running the IDE, a setup wizard will open.
  3. Enter the directory location where your projects will be stored. We suggest that you enter: c:\myJava
  4. The setup will ask you if you want to import previous setting. Since we are assuming you are installing Forte for the first time, choose No, skip the setting import and then click Finish.
  5. The setup will ask you for the location of iPlanet Web Server Installation Directory. Leave it empty and click Cancel.
  6. In the General Forte for Java® Settings Dialog Box, choose the following:
    1. Leave the Use proxy server unchecked.
    2. Choose the MDI (Single Window Interface).
    3. In the Browser selection choose the External Browser (Command Line).
    4. Click Next
  7. In the Select Set of Modules to Install, Select Basic Set of Modules. Click Next Then Finish.
  8. Check if the documentation was properly added in case you decided to download the Java® 2 SDK Documentation (see previous section). Once the IDE is running, click on the Javadoc tab located in the Explorer. The jdk1.3.1\docs folder should appear as a link in the Javadoc path. If the link doesn’t exist, do the following:
    1. In the Javadoc tab, right-click the Javadoc node and choose Add directory.
    2. In the Mount Directory dialog box, select the docs directory that you have downloaded in the previous section of the handout.
    3. Click Mount. The new search path is added to the Javadoc tab
  9. The final step is to remove modules that you won't be using in the 1.00 course. Removing the modules is not mandatory, but it will significantly improve the performance of the IDE. To remove the modules, click the Tools->Options in the Menu bar. In the Option window, expand the Modules tree. To remove a module, click on it and in the Properties, set Enabled to False. The following is the recommended list of modules to remove (They might already be disabled):
    • Database
    • Developing NetBeans.
    • Distributed Application Support.
    • J2EE Support
    • Tools/Internalization. Forte will complain that some modules depend on this module. Click OK. The Tools/Internationalization Form Cross Dependency module will also be disabled.
    • Version Control
    • XML


Java® is a trademark or registered trademark of Sun Microsystems, Inc. in the United States and other countries.