C H A P T E R  3

Installing the IDE
(Linux Systems)

This chapter describes how to install the IDE from the product CD or from files downloaded from the web.

The IDE installer also installs Sun ONE Application Server 7, Standard Edition as the default application server. The application server installation includes the PointBase Server 4.2 Restricted Edition as part of the standard installation.

You can install the Sun ONE Studio 5 IDE in two ways:


Using the GUI Installer

You can install the Sun ONE Studio IDE by using the product CD-ROM or by downloading the s1s5se-linux-en.bin installer launcher from http://www.sun.com/software/sundev/jde/buy/index.html.



Note - If you encounter errors at any point during the installation, refer to Chapter 12 for troubleshooting tips.




procedure icon  To Install the IDE

1. Verify that you have at least the J2SE, version 1.4.1_02 platform installed on your system and that you have reviewed the space requirements.

See Chapter 1 for details.

2. Start the installation.

a. Download the s1s5se-linux-en.bin installer file from http://www.sun.com/software/sundev/jde/buy/index.html and save it in the s1studio-download-directory.

b. Set the execute permission on the s1s5se-linux-en.bin file.

% chmod a+x /s1studio-download-dir/s1s5se-linux-en.bin

c. Set the DISPLAY environment variable to display to your local system.

For example, if you use the bash shell, type:

# export DISPLAY=your-local-machine:0.0

d. Become a superuser (root).

%su root

Enter your superuser password when prompted.

e. Start the installer.

# /studio-download-dir/s1s5se-linux-en.bin

The Welcome page appears. Proceed to Step 3.

  • To start the install from the CD-ROM, follow these steps:

a. Log in to your system as a superuser using your root password.

To use the CD-ROM and enable the autorun feature to work correctly, log in to your machine as root. Do not use the su command in a terminal window as this does not allow you to install correctly when the autorun feature launches the install process.

b. Insert the product CD.

Answer yes if you are prompted about whether you want to use autorun to install the CD. Answer yes if you are prompted about whether you want to use autorun. The Welcome page appears. Proceed to Step 3.

  • If the installer does not start, the autorun feature might be disabled. In this case, follow these steps:

i. Open a terminal window.

ii. Change to the CD-ROM directory and start the installation.

# cd /cdrom/en_studiose_5
# ./install.sh

The Welcome page appears. Proceed to Step 3.

3. From the Welcome page, click Next and follow the instructions on the installer wizard pages.

The installer asks a series of questions, installs the product, and then displays the Summary page.

When prompted for the license serial number you have two options:

  • Generate a 60-day trial license serial number by using the 60-day trial button.
  • Use the license serial number listed on a card enclosed in the purchased product package. If you purchase the product online, then the serial number is provided to you at the time of purchase and download.

4. Review the Summary page.

The following properties, used by the Sun ONE Application Server, are displayed:

  • Admin Server Host: localhost
  • Admin Server Port: 4848
  • Admin User Name: admin
  • Admin User Password: adminadmin

5. Write down and save the Admin User password.

You need this password to use the Sun ONE Application Server administrative tool. The other properties can be viewed from within the IDE by looking at the Sun ONE Application Server property sheet.

6. Click Finish to exit the installation wizard.

Installing as a superuser, the default installation directory is /opt/studio5_se.If you only installed the IDE and installed it as a standard user, then the default installation directory is $HOME/studio5_se where $HOME is your home directory.

7. Exit from superuser privileges.

8. Continue to Chapter 5 for information about setting up the Sun ONE Studio 5 IDE.



Note - If you plan to use Sun ONE Application Server 7 to deploy your applications, read Chapter 6.




Using Command-Line Options During Installation

Command-line options for installing in silent mode are supported by the IDE installers. The procedure depends on whether you are installing from files on the CD-ROM or files downloaded from the web site. Some command-line options can be used with the GUI installer.

See Appendix D for details on using the command-line options and for installing in silent mode.