Out of the box, JDeveloper 11.1.1 does not come with Java 6 and produces a warning message if you try and run it directly from Java 6. These instructions show how you can get JDeveloper 11.1.1 to run under Java 5 and have the Framework plugin run under Java 6.

Install Java 5

Download the latest version of Java 5 from http://java.sun.com/javase/downloads/index_jdk5.jsp

Check to see if Java 6 is already installed on your system.

As root run:
# rpm -aq | grep -i jdk
jdk-1.6.0-fcs
jdk-1.6.0_03-fcs

if it returns a package when uninstalling the rpm using:
#rpm -e jdk-1.6.0
#rpm -e jdk-1.6.0_03

As root run the jdk 1.5 file that you downloaded from Sun.

#jdk-1_5_0_11-linux-i586-rpm.bin

Accept the license agreement.

Install Java 6

Download the latest version of Java 6 from http://java.sun.com/javase/downloads/

As root run the JDK 1.6 file that you downloaded from Sun.
#jdk-6u3-linux-i586-rpm.bin

Configuring Jdeveloper

Add Java 5 to your path:

#export PATH=/usr/java/jdk1.5.0_11/bin:$PATH

Verify the version of java:

#java -version
java version “1.5.0_11”
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_11-b03)
Java HotSpot(TM) Server VM (build 1.5.0_11-b03, mixed mode)

Startup JDeveloper 11.1.1

#<jdev_home>/jdev/bin/jdev

Go to Tools -> Manage Libraries and select the Java SE Definitions tab and add a JDK 1.6.

The Framework plugin will now detect that Java 6 is installed and automatically use it when a new Framework project is created.