Setting Up Your Development Environment Copyright 2007, Oracle. All rights reserved. 6 - 2 Lesson Objectives After completing this lesson, you should be able to: Install your JDeveloper 10g development environment on a Windows or Linux system Discuss the JDeveloper 10g development environment used for your course Copyright 2007, Oracle. All rights reserved. 6 - 3 Installing and Setting Up JDeveloper 1. Refer to MetaLink note 416708.1 to obtain the proper patch for your E-Business Suite instance. 2. Download the proper JDeveloper patch. 3. Install JDeveloper by unzipping it to a directory of your choice. 4. Configure your environment variables. 5. Obtain the database connection file (.dbc) for your E- Business Suite instance. 6. Create a shortcut to the JDeveloper executable. 7. Create a Framework Development user and responsibility for OA Framework testing. Copyright 2007, Oracle. All rights reserved. 6 - 4 Installing and Setting Up JDeveloper 8. Uncompress Tutorial.zip into your JDEVHOME directory. 9. Launch JDeveloper 10g. 10. Configure the connections. 11. Test your install and configuration. Copyright 2007, Oracle. All rights reserved. 6 - 5 Configure Your Environment Variables 1. JDEV_USER_HOME is a mandatory environment variable that points to the base directory where your development files are stored. 2. JDEV_JAVA_HOME is an optional environment variables that points to a specific Java SDK. Copyright 2007, Oracle. All rights reserved. 6 - 6 Get the DBC File The file is located in: $INST_TOP/appl/fnd/12.0.0/secure
Put the file into your: JDEV_USER_HOME/dbc_files/secure Copyright 2007, Oracle. All rights reserved. 6 - 7 Create a Shortcut The executable for JDeveloper is located as follows: Windows D:\JDev\jdevbin\jdev/bin\jdevW.exe Linux \JDev\jdevbin\jdev\bin\jdev
Note: Linux does not run the .exe (Windows) executable.
Creating a shortcut varies by operating system as follows: Windows create a desktop shortcut to the JDeveloper executable noted above. Linux create an alias or shell script the points to the JDeveloper executable noted above. Copyright 2007, Oracle. All rights reserved. 6 - 8 Assign the E-Business Suite User By default in the examples and in the OU classroom, you will use the following connection information:
Applications User: FWKTESTER Applications Password: FWKDEV Application Short Name: AK Responsibility Key: FWK_TBX_TUTORIAL Copyright 2007, Oracle. All rights reserved. 6 - 9 Uncompress Tutorial.zip In the JDEVBIN directory, there is a file named, Tutorial.zip. Uncompress this file into your JDEVHOME directory.
Because the .zip file contains the ./jdev/ and other directories, it will create the proper structure for you as it is uncompressed. Copyright 2007, Oracle. All rights reserved. 6 - 10 Launch JDeveloper 10g Copyright 2007, Oracle. All rights reserved. 6 - 11 Configure the Connections and Test The steps to configure the connections and test are as follows: 1. Configure the database connection. a. Connections tab on Navigator panel. b. Right-click Database, select New Database Connection c. Name the connection d. Username = apps e. Password = apps f. Set the host name and SID. If you dont know the settings, look at the DBC file. g. Test the connection h. Finish Copyright 2007, Oracle. All rights reserved. 6 - 12 Configure the Connections and Test 2. Click the Applications Navigator tab. 3. Choose File > Open > myprojects > toolbox.jws. 4. Expand toolbox in the Applications Navigator panel. 5. Double-click Tutorial to open Project Properties window. 6. Expand the Oracle Applications menu entry. 7. Choose Oracle Applications > Runtime Connection. 8. Set the DBC File Name to the directory and name for your DBC file. 9. Click the Save All icon to save your progress 10. Expand Tutorial. 11. Expand the Web Content folder. 12. Right-click test_fwktutorial.jsp, and choose Run. Copyright 2007, Oracle. All rights reserved. 6 - 13 Configure the Connection and User 13. You should see the test_fwktutorial.jsp page as follows: Copyright 2007, Oracle. All rights reserved. 6 - 14 Configure the Connection and User 14. You should see the Hello, World! Page as follows: Copyright 2007, Oracle. All rights reserved. 6 - 15 Summary In this lesson, you should have learned how to: Install your JDeveloper 10g development environment on a Windows or Linux system. Discuss the JDeveloper 10g development environment used for your course.