Skip Headers

Oracle® Application Server Release Notes 10g Release 3 (10.1.3) for Linux x86 B25216-01 |
| Home | Contents

Previous | Next |

# 6 Oracle Application Server Portal

This chapter describes issues associated with OracleAS Portal. It includes the following topic:

- Section 6.1, "General Issues and Workarounds"

## 6.1 General Issues and Workarounds

This section describes general issues and workarounds. It includes the following topic:

- Section 6.1.1, "Ensure Correct JDK Version in Compiler Settings"

### 6.1.1 Ensure Correct JDK Version in Compiler Settings

Java classes compiled using JDK 1.5 will not run in JDK 1.4. The default JDK version used to compile code depends on the JDK version used by the Oracle JDeveloper IDE.

If you create a portlet using Oracle JDeveloper 10g Release 3 (10.1.3) running on JDK 1.5, and plan to deploy it to an OC4J instance that uses JDK 1.4, then you must ensure that the compiler settings are set to 1.4. To set the project compiler settings, perform the following steps:

1. In Oracle JDeveloper, right-click your project in the Applications Navigator tab, and select Project Properties from the context menu.

2. From the Project Properties dialog box, click Compiler in the left pane.

3. From the Source list, select 1.4.

4. Click OK.