2 Installing and Configuring Oracle JDeveloper

This chapter describes how to set up the Oracle JDeveloper development environment to use with Oracle WebCenter Content.

This chapter includes the following sections:

2.1 Installing JDeveloper

If you do not already have JDeveloper 11.1.2.4.0 installed, download Oracle JDeveloper 11g (11.1.2.4.0) Studio Edition (Build 6436) from this location:

http://www.oracle.com/technetwork/developer-tools/jdev/downloads/jdev11124download-1970562.html

Use the Installation Guide for Oracle JDeveloper, available from the same directory, to install and start JDeveloper 11.1.2.4.0 Studio Edition on one of the supported platforms (Windows, Linux, UNIX, or Mac OS system).

Note:

If you have installed other versions of JDeveloper on the same computer, the first time you start this version of JDeveloper, you will be prompted to import preferences from the previous installation. Click No to continue without importing preferences from the previous installation.

2.2 Applying the JDeveloper Patch

To complete the installation, you need to apply a patch for JDeveloper bug 12708296.

To apply the JDeveloper patch:

  1. Stop the JDeveloper instance.

  2. Obtain the OPatch for the standalone JDeveloper installation type, version 11.1.0.0.1 (that is, p5912518_111000_GENERIC.zip), from https://support.oracle.com.

  3. Unzip the OPatch ZIP file into JDEV_MW_HOME/jdeveloper (here JDEV_MW_HOME is the Middleware home of the standalone JDeveloper installation). This creates an OPatch folder under JDEV_MW_HOME/jdeveloper.

  4. Obtain patch number 12708296, version 11.1.2.4.0, (that is, p12708296_111240_Generic.zip), from https://support.oracle.com.

  5. Unzip p12708296_111240_Generic.zip into a temporary folder, temp_location, and run the following command:

    • UNIX command:

      JDEV_MW_HOME/jdeveloper/OPatch/opatch apply -jre JDEV_MW_HOME/jdk160_24/jre -oh JDEV_MW_HOME/temp_location/12708296
      
    • Windows command:

      JDEV_MW_HOME\jdeveloper\OPatch\opatch apply -jre JDEV_MW_HOME\jdk160_24\jre -oh JDEV_MW_HOME\temp_location\12708296
      
  6. Start the JDeveloper instance.

2.3 Creating an Integrated WebLogic Server Domain

For a newly installed JDeveloper Studio instance, you need to create an integrated Oracle WebLogic Server domain to set up your development environment.

To create an integrated WebLogic Server domain:

  1. Open JDeveloper.

  2. From the Run menu, choose Start Server Instance.

  3. Choose and enter a password, and then enter it again to confirm it. All other fields can have default values. Click OK.

  4. Monitor the log window until you see the message:

    IntegratedWebLogicServer started.
    
  5. Stop the server. From the Run menu, choose Terminate, and then choose IntegratedWebLogicServer.

2.4 Configuring JDeveloper for Defining Seeded Customizations

You can specify JDeveloper configurations to better support defining seeded customizations.

To configure JDeveloper for defining seeded customizations:

  1. In the Application Navigator, choose Show Libraries from the Navigator Display Options menu.

    This makes each project list all its libraries in the Application Navigator.

  2. Open *.jsf and *.jsff files in Source mode:

    1. Choose Preferences . . . from the Tools menu.

    2. Select File Types in the left panel

    3. Click the Default Editors tab on right side.

    4. Scroll down to locate the row for JSFF Label (which is for .jsff files), and change its default editor to Source.

    5. Locate the row for XHMTL Source (which is for .jsf files), and change its default editor to Source.

    6. Click OK.