Skip Headers
Oracle® Application Development Framework Developer's Guide
10g Release 3 (10.1.3)
B25386-01
  Go To Documentation Library
Home
Go To Product List
Solution Area
Go To Table Of Contents
Contents
Go To Index
Index

Previous
Previous
Next
Next
 

22.11 Deploying to Application Servers That Support JDK 1.4

If you are deploying to an application server that uses JDK 1.4, you need to configure JDeveloper to build your applications using JDK 1.4. By default, JDeveloper 10.1.3 uses JDK 1.5. If you build an application with JDK 1.5 and run it on an application server that supports JDK 1.4, you may get "unsupported class version" errors.

Application servers that support JDK 1.4 include Oracle Application Server Release 2 (10.1.2), WebLogic 8.1, and WebSphere.

To configure JDeveloper to build projects with JDK 1.4:

  1. Install J2SE 1.4 on the machine running JDeveloper.

  2. Configure JDeveloper with the J2SE 1.4 that you installed:

    1. In JDeveloper, choose Tools > Manage Libraries. This displays the Manage Libraries dialog.

    2. In the Manage Libraries dialog, choose the J2SE Definitions tab.

    3. On the right-hand side, click the Browse button for the J2SE Executable field and navigate to the J2SE_1.4/bin/java.exe file, where J2SE_1.4 refers to the directory where you installed J2SE 1.4.

    4. Click OK.

  3. Configure your project to use J2SE 1.4:

    1. In the Project Properties dialog for your project, select Libraries on the left-hand side.

    2. On the right-hand side, click the Change button for the J2SE Version field. This displays the Edit J2SE Definition dialog.

    3. In the Edit J2SE Definition dialog, on the left-hand side, select 1.4 under User.

    4. Click OK in the Edit J2SE Definition dialog.

    5. Click OK in the Project Properties dialog.