Home > OAF, Oracle > How to Setup Your JDeveloper Environment for Development

How to Setup Your JDeveloper Environment for Development

Follow the Steps to setup your jdeveloper environment for your developements

Assuming the jdeveloper version and Oracle Apps R12 instance; although the instructions are general for any version of jdev

Note: These instructions assume you have successfully installed the JDeveloper OA Extension zip file

Task 1: Configure the JDEV_USER_HOME Environment Variable

Warning: Do not skip this step; jdev will not work properly without this. The variable value should not contain a leading space before the drive name. If it does, your environment will not work properly.

1. Select My Computer on your desktop, right-click and select Properties.

2. In the System Properties dialog, select the Advanced tab.

3. In the Advanced page, select the Environment Variables… button.

4. In the Environment Variables dialog, select the New… button at the User variables for <username> box.

5. In the New User Variable dialog, enter JDEV_USER_HOME in the Variable Name field. Set the Variable Value field to

<drive>:\<jDevInstalledFolder>\jdevhome\jdev where <drive> is the drive where you installed the OA Framework ARU

example c:\< jDevInstalledFolder >\jdevhome\jdev

6. Select OK in each of the dialogs you opened to save the new user environment variable.

Task 2: Obtain a Database Connection File

Obtain the FND database connection (.dbc) file from the instance and place it in the directory <JDEV_USER_HOME>\dbc_files\secure

Task 3: Create a Desktop Shortcut to JDeveloper

To facilitate launching jdeveloper, create a desktop shortcut to jdevbin\jdev\bin\jdevw.exe

Task 4: Assign ToolBox Responsibilities

You will need to assign the following ToolBox Tutorial (this is a tutorial packed with the installation for learning) responsibilities to a test user (you can use an existing user in your system, or you can create a new one)

1. OA Framework ToolBox Tutorial (responsibility key is FWK_TBX_TUTORIAL)

2. OA Framework ToolBox Tutorial Labs (responsibility key is FWK_TOOLBOX_TUTORIAL_LABS)

Task 5: Launch JDeveloper; Configure Your Database Connection and User

1. Launch jdeveloper by selecting the desktop shortcut that you created in Task 2 above.

2. Goto Connections tab in the jdeveloper left panel, and then expand the Database node. Right-click on the Database node, and select New Connection to open the Connection Wizard. Follow the jdeveloper instructions to define a new database connection for the Oracle Applications. In this wizard you need to mention your database username which is usually apps/apps; and driver: thin, hostname, port, sid which you can find in your dbc file

3. Create a new workspace by selecting File > New > General > Projects > Workspace Configured for Oracle Applications. Click OK

4. In theNew Oracle Applications Workspace Dialog that appears, confirm that the directory name points to the <JDEV_USER_HOME>/myprojects folder.

5. Provide a suitable name fdor your workspace. Uncheck the Add New OA Project option.

6. In the jdeveloper navigator, select the <YourWorkspaceName>.jws and right-click.

7. Select New OA Project option.

8. Confirm the directory option pointing to <JDEV_USER_HOME>/myprojects

9. Provide a suitable project name 10. Select the <YourProjectName>.jpr project and select Project > Project Settings.

11. In the Project Settings dialog, expand the Oracle Applications node and select Runtime Connection.

12. In the Connection, use the Browse… button to locate the DBC file that you saved in Task 2 above. The file should be in the <JDEV_USER_HOME>\dbc_files\secure directory.

13. Specify the User Name for the user to which you assigned the ToolBox responsibilities in Task 4 above.

14. In the navigator, select the <YourProjectName>.jpr project again. Right-click and select Edit Business Components Project….

15. In the Business Components Project Wizard, select the Connection option and set the Connection Name to the connection you just defined. Select OK to save your changes.

Task 6: Test your Setup

Tip: You should use IE 5+ as your default browser.

Proceed to Building and Running Hello World!

Categories: OAF, Oracle
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: