Installing the Oracle CEP IDE for Eclipse Distributed With Oracle CEP

Overview of the Oracle CEP IDE for Eclipse 3-9 Figure 3–10 Select Local Site Archive Dialog 5. Navigate to the ORACLE_CEP_HOMEocep_11.1eclipse-update-site directory and select the cep-tools-11.1.0.DATE-BUILD.zip file. Where ORACLE_CEP_HOME refers to the main directory into which you installed Oracle CEP, such as oracle_cep, and DATE is the build date and BUILD is the build number.

6. Click Open.

7. Complete the Update Manager, selecting to install the Oracle CEP tools. 8. When prompted restart, Eclipse. If you skip this, unreliable behavior can occur.

9. To confirm the installation, select Help About Eclipse.

The About Eclipse dialog appears as Figure 3–5 shows. Figure 3–11 About Eclipse

10. Click Oracle.

The About Eclipse Features dialog appears as Figure 3–6 shows. 3-10 Oracle Complex Event Processing Developers Guide Figure 3–12 About Eclipse Features Dialog

11. Click Plug-In Details.

The Feature Plug-ins dialog appears as Figure 3–7 shows. Figure 3–13 Feature Plug-ins Dialog 12. Confirm that the plug-ins that Table 3–2 lists are shown. Overview of the Oracle CEP IDE for Eclipse 3-11 13. After installing Oracle CEP IDE for Eclipse, consider the following topics: ■ Section 3.1.3, Default Oracle CEP Domain ocep_domain and Development ■ Section 3.4, Configuring Eclipse ■ Appendix J, Oracle CEP IDE for Eclipse Tutorial

3.4 Configuring Eclipse

This section describes how to configure Eclipse to work with the Oracle CEP. To configure Eclipse: 1. Exit out of Eclipse if it is running.

2. Install a Java 6 JRE on your computer.

By default, the JRockit Java 6.0 JRE is installed with Oracle CEP in your Oracle CEP home directory. For example: C:\OracleCEP\jrockit_160_20\jre

3. Using the editor of your choice, open your eclipse.ini file located in your

Eclipse install directory, for example, C:\eclipse\ as Example 3–1 shows. Example 3–1 Default eclipse.ini File -showsplash org.eclipse.platform --launcher.XXMaxPermSize 256M 4. Add the following lines to the eclipse.ini file as Example 3–2 shows. Example 3–2 Memory Resources -showsplash org.eclipse.platform --launcher.XXMaxPermSize 256M -vmargs -Xmx512m -XX:MaxPermSize=256M Table 3–3 Oracle CEP IDE for Eclipse Plug-Ins Provider Plug-in Name Plug-in Id Oracle Oracle CEP Tools Core com.bea.wlevs.eclipse.tools.core Oracle Oracle CEP Tools Documentation com.bea.wlevs.eclipse.tools.doc Oracle Oracle CEP Tools UI com.bea.wlevs.eclipse.tools.ui Note: When making changes to the eclipse.ini file, add arguments one argument per line, as http:wiki.eclipse.orgEclipse.ini describes. For more information about configuring Eclipse, see http:wiki.eclipse.orgFAQ_How_do_I_run_Eclipse . 3-12 Oracle Complex Event Processing Developers Guide 5. Add the following to the eclipse.ini file as Example 3–3 shows. Example 3–3 Virtual Machine Path -vm PATH-TO-JRE-6.0-JAVAW Where PATH-TO-JRE-6.0-JAVAW is the fully qualified path to your Java 6.0 JRE javaw executable. For example: -vm C:\OracleCEP\jrockit_160_20\jre\bin\javaw.exe 6. Save and close the eclipse.ini file. 7. Start Eclipse.

8. Select Help About Eclipse and click Installation Details.

9. Click the Configuration tab.

The Configuration Details tab appears as shown in Figure 3–14 . Figure 3–14 Configuration Details for Java 6 Note: Do not put both the -vm and the path on the same line. Each must be on a separate line as Example 3–3 shows. Overview of the Oracle CEP IDE for Eclipse 3-13 10. Confirm that the eclipse.vm property points to the Java 6.0 JRE you configured in the eclipse.ini file.