Jan 30, 2010

Easiest way to upgrade your ColdFusion JDK

I just got a new laptop and have been setting up my local dev environment. After installing IIS and ColdFusion ( 8 and 9 ) I wanted to bump the JDK past the class loader issues with pre 1.6.0_10. I figured I'd go with the most recent ( 1.6.0_18 )

This is a simple process and I'll outline it here. This is the same on Win XP, 2003, Vista, Windows 2008 and Windows 7.

Download the JDK: http://java.sun.com/javase/downloads/index.jsp

Choose the appropriate edition ( I'm running 64bit Windows and CF8 ) so 64 bit edition for me. Make sure you get the JDK not the JRE.

Install the JDK and take note of the install directory. I left it all as default and the install folder is: C:\Program Files\Java\jdk1.6.0_18

Browse to you CFADMIN and select Java and Java Settings:



Replace the Java Virtual Machine path with C:\Program Files\Java\jdk1.6.0_18\jre

Save this and restart your CouldFusion services.

Log back into the CFADMIN click Settings and Summary and confirm the java version is now 1.6.0_18.

 
And that's it.

2 comments:

  1. Have you run into any issues in your code after upgrading to version 1.6.0_18? Just curious if there is any potential for broken apps due to the upgrade. Thanks!
    ReplyDelete
  2. SO far no issues but the project I am working on currently is ColdFusion back end Flex front end so I can't comment of weather any of the PDF stuff breaks. I'll update when I get our big app running locally.
    ReplyDelete