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 Install JDeveloper

If you do not already have JDeveloper 12.2.1 installed, download Oracle JDeveloper 12c (12.2.1.0.0 or 12.2.1.1.0) Studio Edition from this location:

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

Use the Installing Oracle JDeveloper, available from the same directory, to install and start JDeveloper 12.2.1 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.

When you are starting 12.2.1.1.0 JDeveloper for the first time, you need to provide the full path name of a JDK installation.

2.2 Install WebCenter Content Connection Extension for JDeveloper

For a newly installed JDeveloper Studio instance, you need to install WebCenter Content Connection Extension.

Note:

WebCenter Content Connection Extension is located at WCC_MW_HOME/oracle_common/ucm/Distribution/RIDC/jdev/oracle.ucm.ridc-jdev.zip.

To install the JDeveloper extension:

  1. Open JDeveloper.
  2. From the Help menu, choose Check for Updates.
  3. In the Check for Updates dialog box, select Install From Local File and click Browse.
    In the Browse dialog box, locate oracle.ucm.ridc.jdev.zip under WCC_MW_HOME, and click Open.
  4. In the Check for Updates dialog box, click Next.
  5. In the Check for Updates dialog box, verify WebCenter Content Connection Extension is displayed. Click Finish.
  6. On the prompt of Confirm Exit, click Yes.
    JDeveloper is restarted to install the updates.

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 Applications Window 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 ADF Fragment File (which is for .jsff files), and change its default editor to Source.
    5. Locate the row for XHMTL/Facelets Source (which is for .jsf files), and change its default editor to Source.
    6. Click OK.