C H A P T E R 3 |
Solaris OS and Linux: Installing and Starting the Java Studio Enterprise Software |
This chapter describes how to install the Java Studio Enterprise software from physical media (DVD) and from files downloaded from the web in the Solaris OS and Linux environments.
This chapter covers the following topics:
Note - If you want to install the Java Studio Enterprise software on multiple hosts that require similar installation configurations you can use silent installation. See Installing the Java Studio Enterprise Software Using Silent Mode for details about preparing and executing a silent installation. |
The following restrictions apply to the installation in the Solaris OS and Linux environments:
If you encounter this problem, you can increase the space allocated for the TEMP environment variable or specify a different temporary directory that has sufficient space. Another option is to create an installation log file where the installer will record error messages. For instructions, see Generating an Installation Log File and Specifying a Temporary Directory for the Installation below.
If you want to create a log file with information about the installation, you must start the installation process from the terminal window using the following commands:
Be sure to replace installer with one of the following:
If you want to specify a different temporary directory for the installer to use, you must start the installer from the terminal window using the following commands:
Be sure to replace installer with one of the following:
You can install the Java Studio Enterprise software from media or from a download file.
|
1. Log in to your system with administrator privileges and disable any firewall applications.
Enabled firewall applications can prevent some components from being configured correctly during the installation process.
Note - On the Linux platform, you can install the Java Studio Enterprise software without logging in with administrator privileges. |
2. To install from media, insert the media in your media drive.
If the installer does not start, open the terminal window and start the installation using the following commands:
Be sure to replace installer with the file name of the installer file. The location of the installer file is specified in the README file in the top level of the media.
Note - For Solaris OS, the autorun script is disabled by default. To start the installer, navigate to the product folder on the media and double-click the installer file in the File Browser. |
3. To install from a download file, do the following:
a. Download the Java Studio Enterprise installer file (download-installer) into a writable directory.
![]() |
Caution - Do not usea download directory that contains spaces or other special characters in the path name. |
Use Sun Download Manager software (http://www.sun.com/download/sdm/) to ensure a successful download.
b. From the command prompt, change the file you downloaded to an executable file and start the installer using the following commands:
Be sure to replace download-installer with the file name of the downloaded file.
4. At the Welcome page of the installation wizard, click Next.
5. Respond to the license agreement and click Next.
6. At the installation type page, do one of the following.
|
|
The IDE and the bundled Application Server (you do not want to install the Collaboration Runtime) |
|
|
|
|
|
1. At the installation directory page of the installation wizard, accept the default installation directories for the IDE and the Application Server or specify different directories and click Next.
2. If the installer fails to automatically detect a compatible JDK, specify the JDK to be used with this installation of Java Studio Enterprise and click Next.
Note - If you do not have JDK 5.0 Update 1 or higher, cancel the current installation and install the required JDK version first. See Required Software. |
3. Define the admin username and password for the Application Server installation or accept the defaults and click Next.
The admin username must be an alphanumeric string and the password should be at least eight characters long. The default username is admin and password is adminadmin.
4. (Optional) Verify the default port values for the Application Server and change them if necessary. Then click Next.
This page appears only if you have selected the Custom installation type (for example, you are installing the IDE and bundled Application Server, without the Collaboration Runtime).
For Typical installation, the installer automatically validates default Application Server ports, requiring no interaction from you.
5. Follow the instructions in To Complete the Installation to finish the installation.
|
1. At the installation directory page of the installation wizard, accept the default IDE installation directory or specify a different directory and click Next.
2. Specify the JDK to be used with this installation of Java Studio Enterprise from the list of compatible JDK installations and click Next.
Note - If you do not have JDK 5.0 Update 1 or higher, you must cancel the current installation and install the required JDK version first. See Required Software. |
3. Select the preinstalled Application Server from the list of compatible installations or click Browse to specify its location and click Next.
If you proceed with the installation without selecting a preinstalled Application Server, the Java Studio Enterprise IDE will not be configured to use this Application Server installation. You need to manually configure the IDE for the preinstalled Application Server.
4. (Optional) At the Collaboration Runtime settings page, specify the port values, service name, and instance name for the Collaboration Runtime, or accept the default values.
This page appears only if you have selected to install the Collaboration Runtime.
6. Follow the instructions in To Complete the Installation to finish the installation.
|
1. Verify that the current settings are correct and you have enough space on your system.
2. Click Install to begin the installation.
3. To start the IDE after the installation is complete, leave the Launch Java Studio Enterprise IDE checkbox selected.
The installation program creates a log with information about the installation. By default, this log file resides in the following directories:
Solaris OS platforms: /var/tmp/jstudio_ent81-installation-timestamp.random-number.log
Linux platforms: /tmp/jstudio_ent81-installation-timestamp.random-number.log
If you followed the instructions in Generating an Installation Log File, the log file also resides in the location you specified before the installation.
5. If you disabled any firewall applications, enable those firewall applications.
Start the IDE by executing a launcher script.
|
1. Change to the directory that contains the IDE executable.
2. Start the IDE using the following command:
You can specify jstudio.sh command options on the command line or in the java-studio-install-dir/ide/etc/jstudio.conf file. See Using Startup Command-Line Options.
Copyright © 2006, Sun Microsystems, Inc. All Rights Reserved.