Incompatibility between OS X Java 10.5 updater 2 and CF 8 64-bit installer

>> Tuesday, 14 October 2008

As you will know if you've been following the start of my new blog series 'My Perfect OS X Coldfusion Dev Environment' I have been trying to setup a coldfusion development environment on my Macbook. However I ran into a problem with a pretty major step in the process when the Coldfusion 8 installer refused to run on my machine giving the following error immediately after
I accepted the license terms...



In essence it refused to acknowledge the machine as 64-bit. Which confused me greatly as prior to wiping the machine to start the fresh install it was running 64-bit coldfusion 8 just fine.

Following some googling I found out there is an app bundled with OS X that allows you to change the default JVM called 'Java Preferences' in the Utilities folder within Applications. I tried to change the jvm to available 64-bit jvm, I tested the default version was in fact being changed but to no avail.

In desperation I decided to wipe the machine and try again in case something got screwed up along the way. So I re-installed from scratch applied all updates and got the exact same thing. By now I'm tearing my hair out (well, what little I have).

A few days go by of me desperately trying to find a solution with no luck and in the end decide that giving the re-install another go is probably worth a try. Only this time I'll run the installer before/after applying each system update individually so that's exactly what I did.

Starting from my retail DVD version of leopard (10.5.4) I make a fresh install and immediately download the cf 8 64 bit installer for os x. Lo and behold the JVM check works and I'm prompted for my serial number (the next step in the installer).

I install the small non-critical updates (itunes, quicktime, remote desktop client, frontrow). All still ticketty-boo. go-figure.

I install the Mac OS X Update to 10.5.5, still working. Whoop-de-doo.

I install Security Update 2008-007, any problems? no sirree all quiet on the western front.

Finally I come to the last currently available update 'Java For Mac OS X 10.5 Update 2' I install and does it work?



Does it heck! Having tried the installer with versions Java SE 6 (64-bit), J2SE 5.0 (64-bit) and J2SE 5.0 (32-bit) All showed the same error but the settings shown in the cfinstall_err file created by the Coldfusion installer correctly mirror the settings you would expect to see for the selected version of Java (i.e 64-bit!).

I will now have to re-install OS X again so I can avoid installing the update until I can notify Apple/Adobe about this problem and see if a solution can be found.

My advice to anyone running a 64-bit mac wanting to use the 64-bit version of Coldfusion 8 then I would avoid installing 'Java For Mac OS X 10.5 Update 2' for the time being.

If anyone else with a 64-bit mac they can easily test this on it would be appreciated if you could confirm my findings.

If I get any updates I'll be sure to blog about them here.

update: I think I have found the reason for this see my follow up post

update2: a workaround for this problem has now been found. details here.

5 comments:

Andrew Clarke 21 October 2008 at 01:51  

I'm having the same problem. The difference is that it's not important enough to me to wipe my whole system just to install ColdFusion. That's what VMs are for.

I'm not sure whether to blame Apple or Adobe for this kind of frustration. The latest Java update killed JEdit on both of my computers too.

I hope someone posts a solution on this soon because I'm out of ideas and out of time to try to sort it out.

cfsnaprich 5 November 2008 at 16:18  

FYI-
I hit this very issue trying to set up CF801 64 bit on my new Mac Pro.

I called Adobe and filed a case, got a case number and was told I'd get a response in 24 hours. We'll see what they say, if they actually get back to me, they haven't been very good since they took over ColdFusion....

Rich

chris hough 7 November 2008 at 21:22  

any luck from Adobe on a fix, i am trying to hook up a new developer now and this is pretty ridiculous

J. Kevin Parker 14 November 2008 at 20:49  

[I'm trying to post this comment a second time due to blogger error...]

I have been developing on my MacBook Pro 17 (Core 2 Duo) for weeks now with OS X 10.5.5, CF 8.0.1 and MySQL. I can't remember my exact set up or if it mirrors yours enough, but I will research and get back to you ASAP.

I'm actually about to by an XServe and was searching for info on the Leopard Server JVM vs. the bundled one from Adobe for CF8. That's how I found this post. Gotta run, but will research and reply ASAP.

J. Kevin Parker 15 November 2008 at 08:35  

Nevermind--I finally got to look at your later posts.