Kevin Kempf's Blog

September 14, 2009

JDK 1.6 on the Apps Tier

Filed under: Uncategorized — kkempf @ 11:30 am

With the native Java implementation completed, I’ve been able to finally catch up on some overdue updates to keep my techstack certified.  The first piece was to upgrade to Forms, and this past weekend I upgraded from JDK 1.4 to 1.6.   This is covered in Metalink note 401561.1; here’s the condensed version:

  1. Install the JDK in a common location on the host (/opt was a good location for me)
  2. Apply 2 interoperability patches via adpatch (5622511 and 5977502)
  3. Run the interactive script: $FND_TOP/bin/ -script=SetJDKCfg -force
    1. I ran the script with the “Run autoconfig when it’s done” option, though you could easily just do that manually after it’s done
    2. I had to use -force because the script thought I was already on jdk 1.6
      1. In my case, I have a symbolic link in /opt called jdk which was points to whichever version I wish to have active
      2. Prior to running this script, my symbolic link was pointed to 1.6; I suspect if it were still pointing at 1.4 I would not need -force
  4. Regenerate (force) Jar files via adadmin

I found 2 differences in the context file, between jdk1.4 and 1.6 (since I used the symbolic link described above, my java path was /opt/jdk regardless of which version I’m using so that didn’t change).  The jdk14 and jdk16 are just listed here for clarity.

  1. CLASSPATH: /opt/jdk14/lib/i18n.jar becomes /opt/jdk16/lib/dt.jar
  2. AF_CLASSPATH: /opt/jdk14/lib/tools.jar becomes /otp/jdk16/lib/dt.jar


  1. Hey, great blog…but I don’t understand how to add your site in my rss reader. Can you Help me, please 🙂 🙂

    Comment by real estate mutual funds — October 6, 2009 @ 2:04 pm

  2. The RSS URL is

    Comment by kkempf — October 7, 2009 @ 5:53 am

RSS feed for comments on this post.

Sorry, the comment form is closed at this time.

Blog at