berniedolan
Viewing by month: February 2009
JVM Error Installing 64-bit ColdFusion On Mac
February 16, 2009
The "Java for Mac OS X 10.5 Update 2" released Sep 24, 2008 appears to have caused an issue with the 64-bit installer for ColdFusion. I've verified the issue also exists in Update 3 which was just released Feb 12.
The following error occurs just after accepting the license agreement in the installer...
Error: Unsupported Platform
This installer will run only on 64 bit mac-intel. PPC and 32 bit mac-intel
are not supported. If this is a 64 bit mac-intel, make sure 64 bit JDK is
the default JVM.
Close this installer and restart installation using a 32 bit installer.
This forum post describes a way to get around the issue, but it involves deleting and copying files en masse, which is potentially unsafe (IMO), so I wasn't thrilled with the approach. The below commands will also resolve the issue, and only involves 1 file...
cd /System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK/Commands/
sudo mv java java.BACKUP
sudo cp ../Home/bin/java .
Rerun the installer (which should work now) then when complete, run the following command to restore the symbolic link...
sudo mv java.BACKUP java
You can also just opt to use ColdFusion's 32-bit installer as suggested in the error message, but if you also plan to use Apache you'll need to switch it to run in 32-bit mode as described here in this technote.
Comments (13) | Related Categories: ColdFusion