Java For Mac OS X 10.5 Update 2 - ColdFusion 8 Gotcha

OS X , ColdFusion , Java Add comments
If you're a Mac person and haven't already installed ColdFusion 8 on 10.5 (Leopard), be aware that updating Java will cause the ColdFusion 8 (64-bit OS X) installer to fail. The problem appears to be that the Java version "1.5.0_16" is unrecognized by the installer as a supported 64-bit version of Java. Note that CF8 will run on Java version 1.5.0_16 for Mac, but it will not install to it.

13 responses to “Java For Mac OS X 10.5 Update 2 - ColdFusion 8 Gotcha”

  1. Eric Says:
    OH! That is what is up on our new install. How do we back out and install the older version in OSx??
  2. Rich Leach Says:
    I actually have an open incident with Adobe about this, but they're very slow to respond and it now looks like they've sent my case over to India so communication will be delayed even longer.

    Has anyone got any ideas on how to get the 64 bit of CF installed on this version of Java?
  3. Rich Leach Says:
    I found the cfinstall_err file that the installer generated, here is what it says:

    ***start***

    IAResourceBundle: create resource bundle: en
    __________________________________________________________________________

    InstallAnywhere 8.0.1 Enterprise
    __________________________________________________________________________

    Wed Nov 05 11:46:11 MST 2008

    Free Memory: 12027 kB
    Total Memory: 15744 kB

    No Arguments

    java.class.path:
    /Users/user/Desktop/downloads/ColdFusion 8 Installer.app/Contents/Resources/Java/Execute.zip
    /Users/user/Desktop/downloads/ColdFusion 8 Installer.app/Contents/Resources/Java/IAClasses.zip
    /Users/user/Desktop/downloads/ColdFusion 8 Installer.app/Contents/Resources/Java/installscript.zip
    /Users/user/Desktop/downloads/ColdFusion 8 Installer.app/Contents/Resources/Java

    ZGUtil.CLASS_PATH:
    /Users/user/Desktop/downloads/ColdFusion 8 Installer.app/Contents/Resources/Java/Execute.zip
    /Users/user/Desktop/downloads/ColdFusion 8 Installer.app/Contents/Resources/Java/IAClasses.zip
    /Users/user/Desktop/downloads/ColdFusion 8 Installer.app/Contents/Resources/Java/installscript.zip
    /Users/user/Desktop/downloads/ColdFusion 8 Installer.app/Contents/Resources/Java

    sun.boot.class.path:
    /System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Classes/classes.jar
    /System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Classes/ui.jar
    /System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Classes/laf.jar
    /System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Classes/sunrsasign.jar
    /System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Classes/jsse.jar
    /System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Classes/jce.jar
    /System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Classes/charsets.jar
    /System/Library/PrivateFrameworks/JavaApplicationLauncher.framework/Resources/LauncherSupport.jar

    java.ext.dirs:
    /Library/Java/Extensions
    /System/Library/Java/Extensions
    /System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home/lib/ext

    java.version == 1.6.0_07 (Java 1)
    mrj.version == 1040.1.6.0_07-153
    java.vm.name == Java HotSpot(TM) 64-Bit Server VM
    java.vm.vendor == Apple Inc.
    java.vm.version == 1.6.0_07-b06-57
    java.vm.specification.name == Java Virtual Machine Specification
    java.vm.specification.vendor == Sun Microsystems Inc.
    java.vm.specification.version == 1.0
    java.specification.name == Java Platform API Specification
    java.specification.vendor == Sun Microsystems Inc.
    java.specification.version == 1.6
    java.vendor == Apple Inc.
    java.vendor.url == http://www.apple.com/
    java.class.version == 50.0
    java.compiler == null
    java.home == /System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home
    java.io.tmpdir == /tmp
    os.name == Mac OS X
    os.arch == x86_64
    os.version == 10.5.5
    path.separator == :
    file.separator == /
    file.encoding == MacRoman
    user.name == user
    user.home == /Users/user
    user.dir == /Users/user/Desktop/downloads
    user.language == en
    user.region == null
    __________________________________________________________________________

    Installer: InstallAnywhere 8.0.1 Enterprise Build 3080
    __________________________________________________________________________

    System's temporary directory = /private/var/folders/32/3274+vX0GLijmxZCpaVp0k+++TI/Cleanup At Startup/
    Installer: no 'sea_loc' in working dir, couldn't define $EXTRACTOR_EXECUTABLE$



















    Loading externalized properties






    SHUTDOWN REQUESTED
    (X) commiting registry
    (X) shutting down service manager
    (X) cleaning up temporary directories
    Exiting with exit code: 1000


    ***end***
  4. Rich Leach Says:
    FINALLY!
    I got an email from an Adobe engineer this morning (literally - timestamped 1:55AM, remember they're in India, and the only reason I bring that up is because it impacts the ability to communicate, when I finally read the email they're already asleep and we have to wait an entire day for a response....) with the following instructions:

    On Nov 10, 2008, at 1:55 AM, Naveen wrote:

    Hi Rich,

    To resolve this issue follow the steps given below: -

    1. Goto /System/Library/Frameworks/JavaVM.Framework/Versions/CurrentJDK/Commands

    2. All the files in this directory are symlinks to ../Home/bin

    3. Remove the symlinks (sudo rm –rf *)

    4. Copy all the files from ../Home/bin using commad “sudo cp ../Home/bin/* .” ignore any errors and make sure java executable is copied.

    5. Start the installer. Once the installation is complete, the links can be reinstated so that any future updates are not missed. (in the CurrentJDK/Commands directory, remove existing file and run sudo ln –s ../Home/bin/* .)

    Please let me know if the information above helps in resolving the issue.

    Regards,
    Naveen

    My respsonse to Naveen:

    Hi Naveen-

    Thank you for your instructions. It took a few tries but I finally got the installer to run and ColdFusion is finally installed! The UNIX commands are actually rather tricky, especially reading them from the email as spaces definitely play a part in the success or failure of their function.

    One question: in step 5 your instructions state to reinstate the links so that future updates are not missed (in the CurrentJDK/Commands directory, remove existing file and run sudo In -s ../Home/bin/* .) Which file are you referring to when you say "remove existing file"? This is the only step I have not yet completed.

    Thanks again,

    Rich



    Now you have to definitely pay attention to the commands that he instructs you to run. First of all, if you aren't aware, you have to be in the Terminal (Applications/Utilities/Terminal). That is where you actually type all of his directed commands. You may actually try to copy and paste where ever possible, since the space characters definitely affect the functionality of the commands. (I have worked with Unix but some people may not have). I made sure to turn on Web Sharing (System Preferences/Sharing/Web Sharing checked) and then proceeded to install the multiserver configuration since I have multiple clients and will hopefully create an instance for each client and not have to worry about framework files (Model Glue, Fusebox, Mach-II xml file collisions, etc.) plus it will make my deployment a whole lot easier as I've re-discovered ".CAR" files (helps in making backups too). Using CF in this manner, on this platform, is new to me, so it's "baptism by fire" but I'm equally as excited as I am relieved to have this installation behind me. You'll notice in my reply to Naveen (the CF engineer) that I'm waiting on his reply to instruct me on how to clean up that last step; as soon as I hear from him I will post.

    HTH,

    Rich

    PS ... and in all fairness to Adobe I suppose, ultimately, the turn around time to fix this issue was actually pretty good. My clients have high expectations from me since I favor and "evangelicize" ColdFusion, so my expectations for the product are equally as high. Besides, it's a pretty healthy check to have to write if you want to buy a license!
  5. Paul Marcotte Says:
    Hi Rich,

    Thanks for posting this workaround.
  6. Rich Leach Says:
    Now that I have the install complete, I want to make sure I understand the workflow properly when using the multiserver installation: I want to be able to create a new instance of ColdFusion for each of my client's sites, as some run on ModelGlue, others on Mach-II, one on a screwy version of Fusebox. In order to keep each one separate from the others, are the following notions acceptable:
    * Using the Instance Manager in CFAdmin, create a new instance for each site. The Instance Manager asks me for a Server Name and Server Directory, is this how I call the new site's URL and put the site's content, respectively?
    * It looks like I'm actually creating a new instance of JRUN each time I create a new instance of CF which runs in JRUN, is this correct?
    * How do I reference and view the site's content in a browser? Something like http://ServerName/...? This isn't ringing with me, seems like I'd need to use a port number for this.

    Any ideas?

    Thanks in advance,

    Rich
  7. Paul Marcotte Says:
    Rich,

    I don't run a multiserver installation. I prefer to setup multiple vhosts with Apache. I suggest you read Mike Brunt's posts on the Alagad blog.

    http://www.alagad.com/go/blog?createdBy=mbrunt
  8. Rich Leach Says:
    I believe this is everything, in order, that you need in order to be able to install and configure 64 bit ColdFusion 801 on Mac OS X 10.5.5. Be careful of spaces, quotes and how you type all of these commands into the Terminal window (Applications>Utilities>Terminal).

    1. Goto /System/Library/Frameworks/JavaVM.Framework/Versions/CurrentJDK/Commands

    2. All the files in this directory are symlinks to ../Home/bin

    3. Remove the symlinks (sudo rm –rf *)

    4. Copy all the files from ../Home/bin using commad “sudo cp ../Home/bin/* .” ignore any errors and make sure java executable is copied.

    5. Start the installer. Once the installation is complete, the links can be reinstated so that any future updates are not missed. (in the CurrentJDK/Commands directory, remove existing file and run sudo ln –s ../Home/bin/* .)

    6. Goto /System/Library/Frameworks/JavaVM.Framework/Versions/CurrentJDK/Commands and run “sudo rm –rf “ to remove everything from this directory. Then with in the same directory run “sudo ln –s ../Home/bin/* .” This will recreate symlinks so updates are not missed.
  9. Simon Dorfman Says:
    I simplified the steps further. All in one terminal window follow these commands:

    1. terminal $ cd /System/Library/Frameworks/JavaVM.Framework/Versions/CurrentJDK/Commands

    2. terminal $ sudo rm –rf *

    4. terminal $ sudo cp ../Home/bin/* .

    5. Start the Coldfusion installer. Once the installation is complete, the links can be reinstated so that any future updates are not missed.

    6. terminal $ sudo rm –rf *

    7. terminal $ sudo ln –s ../Home/bin/* .
  10. Jared Rypka-Hauer Says:
    Paul,

    I find it odd that it's the version 1.5.0_16 that's messing this up. My installer was refusing to recognize the JVM too, but I was running Java 1.6.0 instead of 1.5.0, so the problem was the same, and doing the above fixed the issue so I could install just fine.

    It's a very strange problem and I don't get why swapping symlinks for copies of the commands would make any difference. It's bizarre. I really hope Adobe get their act together and fix this because it's a weird-ass problem that shouldn't exist in the first place.

    For the record, if you hose your JVM like I did at one point, all you have to do is sudo rm -R ./1.6* from the Versions folder and run Software Update. It'll detect the missing files and redeploy the JVM with no issues.
  11. Paul Marcottte Says:
    Hi Jared,

    The issue applies to both 1.5.0_16 and 1.6.0_07 which are the resultant versions of Java for OS X 10.5 after applying Update 2. I should have mentioned that the error happens for both versions. Thanks for bringing it up.
  12. Jeff Schlosser Says:
    Thanks Guys!!!! Cheers Simon!
  13. UGG Says:
    <p><a href="http://www.uggbootsretails.com"; target="_blank">UGG Argyle Knit</a> features genuine twin-face sheepskin for refreshing comfort. It's one of our tallest boots and looks great all the way up or cuffed down. <a href="http://www.uggbootsretails.com"; target="_blank">UGG boots</a> in our Classic Collection feature a soft foam insole covered with genuine sheepskin and have a molded EVA light such as <a href="http://www.uggbootsretails.com"; target="_blank">UGG Sundance</a> and <a href="http://www.uggbootsretails.com"; target="_blank">UGG Bailey Button</a>, the flexible outsole designed for amazing comfort with every step. Beat the chill in superior style with the <a href="http://www.uggbootsretails.com"; target="_blank">UGG Ultra Tall</a>. The <a href="http://www.uggbootsretails.com"; target="_blank">Bailey Button 1873</a> of light and flexible outsole along with a suede heel guard provides durable wear all season long. Detailed with three oversized wood buttons, this style can be styled up and buttoned, slouched and slightly unbuttoned, or completely cuffed. <a href="http://www.uggbootsretails.com"; target="_blank">UGG Ultra Short</a> is also a good choice for people to refuge from the cold.Just buy one of the ugg boots for your family and yourself, it’s really a good gift both for you famlily and you.Action is better than thinking in heart.</p>

Leave a Reply



Powered by Mango Blog. Design and Icons by N.Design Studio