This chapter describes how to set up the Oracle JDeveloper development environment to use with Oracle WebCenter Content.
This chapter includes the following sections:
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.To complete the installation, you need to apply a patch for JDeveloper bug 12708296.
To apply the JDeveloper patch:
Stop the JDeveloper instance.
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
.
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
.
Obtain patch number 12708296, version 11.1.2.4.0, (that is, p12708296_111240_Generic.zip
), from https://support.oracle.com
.
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
Start the JDeveloper instance.
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:
Open JDeveloper.
From the Run menu, choose Start Server Instance.
Choose and enter a password, and then enter it again to confirm it. All other fields can have default values. Click OK.
Monitor the log window until you see the message:
IntegratedWebLogicServer started.
Stop the server. From the Run menu, choose Terminate, and then choose IntegratedWebLogicServer.
You can specify JDeveloper configurations to better support defining seeded customizations.
To configure JDeveloper for defining seeded customizations:
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.
Open *.jsf
and *.jsff
files in Source
mode:
Choose Preferences . . . from the Tools menu.
Select File Types in the left panel
Click the Default Editors tab on right side.
Scroll down to locate the row for JSFF Label
(which is for .jsff
files), and change its default editor to Source.
Locate the row for XHMTL Source
(which is for .jsf
files), and change its default editor to Source.
Click OK.