Oracle® Application Development Framework Developer's Guide
10g Release 3 (10.1.3) B25386-01 |
|
![]() Previous |
![]() Next |
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:
Install J2SE 1.4 on the machine running JDeveloper.
Configure JDeveloper with the J2SE 1.4 that you installed:
In JDeveloper, choose Tools > Manage Libraries. This displays the Manage Libraries dialog.
In the Manage Libraries dialog, choose the J2SE Definitions tab.
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.
Click OK.
Configure your project to use J2SE 1.4:
In the Project Properties dialog for your project, select Libraries on the left-hand side.
On the right-hand side, click the Change button for the J2SE Version field. This displays the Edit J2SE Definition dialog.
In the Edit J2SE Definition dialog, on the left-hand side, select 1.4 under User.
Click OK in the Edit J2SE Definition dialog.
Click OK in the Project Properties dialog.