This chapter describes the software that you are required to install before installing Oracle Communications Design Studio.
Before installing Design Studio, do the following:
Note:
The following setup instructions are intended for system administrators. Individual Design Studio users should contact an administrator for instructions on obtaining and installing a preconfigured archive file.Install Oracle Enterprise Pack for Eclipse.
See "Installing Oracle Enterprise Pack for Eclipse" for more information.
Install the Oracle JDK.
Download the latest update of JDK 8 for the required platform from the Oracle Technology Network Web site:
http://www.oracle.com/technology
For information on installing the JDK, see the JDK installation documentation.
Install the Java environment.
See "Installing Java Runtime Environment" for more information.
Configure the Eclipse startup properties.
See "Configuring Eclipse Startup Properties" for more information.
Verify the Eclipse installation.
See "Verifying the Eclipse Installation" for more information.
Locate the Oracle WebLogic Server installation directory.
The Design Studio installation script requires you to define the MIDDLEWARE_HOME variable (for example, C:\Oracle\Middleware) and the WEBLOGIC_HOME variable (for example, C:\Oracle\Middleware\wlserver). Additionally, Order and Service Management users require access to Oracle WebLogic Server libraries when building cartridge projects in Design Studio.
When defining these variables, you can point to an existing installation, or you can copy the libraries required by Design Studio and include those directories in your local Design Studio installation. If copying, copy all of the files and folders in the Oracle Fusion Middleware home directory (for example, C:\Oracle\Middleware), and paste those files into a local Fusion Middleware home directory (such as C:\Oracle\Middleware).
See the OSM Installation Guide for information about which version of Oracle WebLogic Server you require. The OSM Installation Guide is available on the Oracle Help Center:
http://docs.oracle.com/en/industries/communications/order-service-management/index.html
See the Oracle Fusion Middleware page on Oracle Help Center for information about installing Oracle WebLogic Server:
http://docs.oracle.com/en/middleware/middleware.html
Note:
Do not install an Oracle WebLogic Server domain specifically for Design Studio.Do one of the following:
Install the prerequisite features using the Eclipse user interface.
See "Installing the Business Intelligence, Reporting, and Charting Feature" and "Installing the Graphical Editing Framework Zest Visualization Toolkit Feature" for more information.
Download the prerequisite features for offline installation. See "Downloading Prerequisite Features for Offline Installation" for more information.
To download and install Oracle Enterprise Pack for Eclipse:
Go to the Oracle Technology Network website:
http://www.oracle.com/technetwork/developer-tools/eclipse/downloads/index.html
Note:
The Oracle Technology Network website is occasionally updated with new versions of Oracle Enterprise Pack for Eclipse. If you are looking for a version previous to the one that appears here, click the Oracle Enterprise Pack for Eclipse Previous Releases link at the bottom of the page.Read and accept the license agreement, then select the Windows (64-bit) link.
Note:
Oracle Mobile Application Framework (MAF) supports application development for iOS and Android. Design Studio does not require MAF. Select the MAF bundle only if you require iOS and Android application development support in your Eclipse installation.Download the archive file to an installation location and unzip the file.
For example, unzip the file into a new directory called DesignStudio. In this guide, subsequent references to this directory refer to this location as Eclipse_Home.
Design Studio requires the Java 8 Runtime Environment.
Note:
You must match the Java 8 version to the Oracle Enterprise for Eclipse version. For example, if you installed the Oracle Enterprise for Eclipse 32-bit version, you must install the Java 8 32-bit version; a 64-bit Oracle Enterprise for Eclipse version requires a 64-bit Java version.To install Java 8 Runtime Environment:
Do one of the following:
Locate an existing Java 8 Runtime Environment installation.
Java 8 Runtime Environment typically resides in the Program Files/Java folder.
Obtain the Java version from the Oracle Technology website at:
http://www.oracle.com/technetwork/java/javase/downloads/index.html
Copy the JRE 1.8 folder (for example, jre1.8.0_66) into the Eclipse_Home folder, where Eclipse_Home is the directory in which Eclipse is installed.
The JRE 1.8 folder must be copied to the same location where the eclipse.exe file is saved.
Note:
If Eclipse does not locate the JRE folder in the Eclipse_Home directory, it attempts to find the JRE using the JAVA_HOME windows environment variable.Oracle recommends that you save a version directly in the Eclipse_Home directory to ensure that individual Design Studio users run Design Studio with a supported Java version. Saving the Java version to JAVA_HOME does not ensure that individual users will run Design Studio with a supported Java version, and the Java version may be changed by installations initiated by other programs.
Rename the JRE 1.8 folder to jre.
System administrators control Eclipse startup by configuring properties in the eclipse.ini file, located in the Eclipse root directory. By editing eclipse.ini, system administrators can:
Mitigate potential memory problems by defining the MaxPermSize JVM flag correctly.
For more information about JVM flags, see the discussion about running eclipse in the Eclipse Workbench User Guide.
Define the initial amount of memory for the Java heap size.
A heap is the common pool of free memory available to a program. If Eclipse is using more memory than is available, increase the heap size allocated by the JVM to Eclipse. Increasing the heap size may eliminate OutOfMemoryError instances when Eclipse attempts to instantiate objects.
To define the initial amount of memory the JVM allocates to Eclipse, use the -Xms setting.
Define the maximum amount of memory for the Java heap size.
To define the maximum amount of memory that the JVM can allocate to Eclipse, use the -Xmx setting. Consider the following guidelines:
For individual users working on machines with 1024 MB of memory or with a (32-bit) operating system, define the -Xmx option as -Xmx512M. In this scenario, the size of cartridges that individual users can develop in Design Studio is limited.
For individual users working on a 64-bit version of Eclipse on Windows (64-bit), you can define the maximum memory values higher than 1024 MB, enabling full use of available memory. For example, if an individual Design Studio user runs Eclipse on a 4 GB machine running Windows (64-bit), you can define the -Xmx option up to -Xmx3096m.
If out-of-memory errors occur at startup (because of an increase to the maximum allocated heap that the operating system is unable to support), close Design Studio, reduce the -Xmx value, and reopen Design Studio. Oracle recommends reducing the value gradually to ensure that Design Studio starts with the greatest heap space possible.
In the following example, a system administrator configures the eclipse.ini file settings for machines with at least 4 GB of memory:
-startup plugins/org.eclipse.equinox.launcher_1.3.0.v20130125-144918.jar --launcher.library plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.200.v20130117-173747 -showsplash org.eclipse.platform --launcher.defaultAction openFile --launcher.appendVmargs -vmargs -XX:NewRatio=5 -XX:+UseAdaptiveSizePolicy -XX:+UseParallelGC -XX:MaxPermSize=512m -Xms128m -Xmx1024m -Dsun.lang.ClassLoader.allowArraySyntax=true
For more information about the eclipse.ini file, see:
To verify that the Eclipse platform installed successfully:
Double-click the eclipse.exe file.
The Workspace Launcher dialog box appears.
Specify a workspace.
You can select a temporary folder or accept the default location. However, each individual Design Studio user should identify the appropriate working directory on their local machine. To help Design Studio users identify in which directory configuration information should be stored on their computer, system administrators can specify in the Workspace Launcher dialog box a location where most users will want to place their configuration files. The directory and folder structure that the installation administrator specifies in this step will become the default value for the Workspace field in the Workspace Launcher.
Click OK.
The Welcome screen appears.
Select Help, then About Eclipse Platform.
Verify the Eclipse version.
You install the Business Intelligence, Reporting, and Charting feature (BIRT) to develop report designs and generate reports that Design Studio users can use to review detailed information about an implemented solution. For example, you can design reports that capture the name, type, description, and relationships of projects, entities, and data elements. Design Studio users can generate these reports and share solution modeling information among team members.
Note:
This procedure requires internet access. You can install BIRT offline using the Design Studio installation build.properties file.See "Downloading Prerequisite Features for Offline Installation" for information about installing BIRT offline.
To install the Business Intelligence, Reporting, and Charting feature:
In the Oracle Enterprise Pack for Eclipse application, from the Help menu, select Install New Software.
The Available Software dialog box appears.
In the Work with field, click the menu and select the following update site:
Neon - http://download.eclipse.org/releases/neon
A list of features available from the site appears.
Select Business Intelligence, Reporting and Charting.
Click Next.
The Install Details dialog box appears.
Review the installation details.
Click Next.
The Review Licenses dialog box appears.
Review and accept the license agreement.
Click Finish.
When prompted, click Yes to restart Eclipse.
The Graphical Editing Framework Zest Visualization Toolkit feature is not included in Oracle Enterprise Pack for Eclipse. This feature is a prerequisite that you must install before you install Design Studio.
Note:
This procedure requires internet access. You can install this feature offline using the Design Studio installation build.properties file.See "Downloading Prerequisite Features for Offline Installation" for more information.
Open the Oracle Enterprise Pack for Eclipse application.
From the Help menu, select Install New Software.
The Install dialog box appears.
In the Work with field, enter the following:
http://download.eclipse.org/tools/gef/updates/legacy/releases/
Press the Enter key.
Expand GEF (Graphical Editing Framework) and select Zest.
Click Next and accept the terms of the license agreement.
Click Finish.
Restart Eclipse.
The Graphical Editing Framework Zest Visualization Toolkit feature and the Business Intelligence, Reporting, and Charting feature are not included in Oracle Enterprise Pack for Eclipse. These features are prerequisites that you must install before you install Design Studio.
If you will not have internet access during installation, you can download these features and install them later when you are offline.
To download the prerequisite features for offline installation:
Navigate to the BIRT All Downloads page:
http://download.eclipse.org/birt/downloads/build.php?build=R-R1-4.6.0-201606072112
Scroll down to the Zipped P2 repository section.
Click Download and save the Zipped P2 repository file.
Extract the Zipped P2 repository file to a shared location.
Navigate to the following Eclipse download page:
http://www.eclipse.org/downloads/download.php?file=/tools/gef/downloads/drops/legacy/4.0.0/R201606061308/GEF3-Update-4.0.0.zip
Click the GEF3-Update-4.0.0.zip file to download the file.
Extract the GEF3-Update-4.0.0.zip file to a shared location.
Install the features offline using the Design Studio installation scripts.
You can specify the shared location of the extracted GEF3-Update-4.0.0.zip file and of the extracted BIRT Zipped P2 repository file in the Design Studio installation build.properties file.
See "Installing and Configuring Design Studio" for more information about updating the build.properties file and running the installation script.