How to Setup JDeveloper for OAF Development








How to Setup JDeveloper for OAF Development in R12.1.X and R12.2.X


For OAF Development ,JDeveloper is required. This Guide will show us how to setup jDeveloper for the first time, following things need to done for the first time to use jDeveloper.


1. Download JDeveloper Patch

Based on your instance release,check out the version of JDeveloper to use using below link.

Note :- Oracle Meta-link should be required to download this patch.

https://support.oracle.com/CSP/main/article?cmd=show&type=NOT&id=416708.1

You can identify the OA Framework version in your instance by activating diagnostics and click the "About This Page" from any OAF page. Click the "Technology Components" tab. The OA Framework version in the top row of the table can then be matched to the JDeveloper Patch.

How to Setup JDeveloper for OAF Development in R12.1.X and R12.2.X



Download the JDeveloper Patch based on the OA Framework highlighted above.

Patch will looks like this pXXXXXXX_R12_GENERIC.zip. This is a generic patch which will works on Linux and Windows both.

2.Extract the JDeveloper patch in a directory

The patch actually contains below three directories

jdevbin    – Includes an extended version of the Oracle JDeveloper 10g executable and OA Framework class libraries.
jdevhome    – Includes the OA Framework Toolbox Tutorial source and developer working area.
jdevdoc      – Contains documentation.

JDeveloper.exe Path

Drive:\Extracted Folder\jdevbin\jdev\bin

Normal Model Select  jdevW.exe
Debug Mode    Select  jdev.exe.



3.Define an environment variable

Define an environment variable JDEV_USER_HOME for your local machine. This has to be set to jdevhome\jdev directory. In above example it has to be C:\jdev\jdevhome\jdev.

My Computer – Properties – Advanced tab – Environment Variables – New

Variable: JDEV_USER_HOME

Value: Drive:\Extracted Folder\jdevbin\jdev\bin



4.Extract Tutorial.zip

Extract C:\jdev \jdevbin\Tutorial.zip into C:\jdev \jdevhome.

It will create following directories

C:\jdev \jdevhome\jdev\myhtml

C:\jdev \jdevhome\jdev\myprojects





5. Get the DBC file

Obtain the Database connection (.dbc) file from the instance where you want to work as development instance.

For the instance to use, you can get the .dbc file from $FND_SECURE and put it in <JDEV_USER_HOME>\dbc_files\secure



The initial setup is now complete!….Now you are ready to develop your first OAF page.

For more information you can refer OAF Developer’s Guide.

No comments