Skip to main content
Inspiring
December 26, 2017
Answered

Updating Java JDK on ColdFusion 2016

  • December 26, 2017
  • 2 replies
  • 4593 views

I've just moved from CF8 up to ColdFusion 2016, which has the rather handy UPDATE button.

I noticed that it does not appear to update the Java JDK, the install I used placed version 1.8.0_112  however if I look on Oracle I see there is an 8u_152 ( Java SE Development Kit 8 - Downloads  )

The question I have (which it looks like the answer is obvious) is do I have to manually update the JDK still? If so I guess I'll install in the program files then change the host file in CF to point to the JRE inside the JDK.

Second question, the last info I could find was that ColdFusion 2016 is not compatible with Java version 9, is that still the case or should I go for the latest and greatest version 9? Currently version 9.0. 1 ( Java SE Development Kit 9 - Downloads  )

This topic has been closed for replies.
Correct answer Dave Watts

Thanks Dave,

Do you know where I could find out what versions are official supported? I had a hunt around and could not find anything official


https://helpx.adobe.com/pdf/coldfusion2016-support-matrix.pdf

Dave Watts, CTO, Fig Leaf Software

2 replies

rahul_u
Community Manager
Community Manager
January 9, 2018
ACS LLCAuthor
Inspiring
January 9, 2018

Thanks.

I managed to take care of it by manually updating to the latest version of 1.8

Charlie Arehart
Community Expert
Community Expert
December 26, 2017

Sometimes a cf update (or new installer) will include a jvm update, but often there will be java point release updates while no cf update has incorporated them. In such cases, yes, it's recommended (for security reasons mostly) that you apply the Java update yourself, and point cf to it. 

And no, as for Java 9, no cf release currently supports it. 

/Charlie

Sent via the Samsung Galaxy S7 active, an AT&T 4G LTE smartphone

null

/Charlie (troubleshooter, carehart. org)
ACS LLCAuthor
Inspiring
December 26, 2017

Got it. I'll do a manual update to the latest JDK. Ummm. I wonder what happens if I do a manual update, in the future does that then preclude the CF updater from updating it beyond my manual override of the process?

Community Expert
December 26, 2017

It's pretty rare that a CF updater contains a Java update, so I wouldn't worry about that if I were you. In general, you will have to do Java updates manually, you will need to check the CF compatibility requirements to identify the latest major Java version supported, and you can usually install the latest minor version for that major version. In general, you should install new Java minor versions as they become available, or a little later, on a regular basis.

New major versions are typically quite a bit different than the previous major version, and CF will often need an upgrade just to be able to support a new major version. It may be quite some time before Java 9 is supported, and Java 8 will be with us for quite a while.

You do have the option of using the "Server JRE" instead of the JDK. This is a JVM without development tools. The only real advantage here is that it takes a bit less disk space, and presumably may be easier to secure in some respects. I've used this fairly often, and used the JDK as well, and haven't seen any other difference.

Dave Watts, CTO, Fig Leaf Software

Dave Watts, Eidolon LLC