#1
  1. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Oct 2009
    Posts
    67
    Rep Power
    5

    Java Update Failure trying to update to JDK1.6.0_38


    CF9 Windows SBS2008 64bit. Downloaded and installed JDK 1.6.0_38 into C:\Program Files\Java\jdk1.6.0_38. Updated C:\ColdFusion9\runtime\bin\jvm.config to:

    java.home=C:/Program Files/Java/jdk1.6.0_38/jre

    save and re-started cf9 => failed to restart and runtime log says:

    Error: no known VMs. (check for corrupt jvm.cfg file)
    Error: no known VMs. (check for corrupt jvm.cfg file)
    Error loading: C:/Program Files/Java/jdk1.6.0_38/jre\bin\server\jvm.dll

    The address is correct but where did those backward-leaning slashes come from and how do I correct it?
  2. #2
  3. No Profile Picture
    Moderator

    Join Date
    Jun 2002
    Location
    Raleigh, NC
    Posts
    5,263
    Rep Power
    968
    You can try just using backslashes in the JVM config.

    Also, are you sure you have the 64-bit version of CF installed?
  4. #3
  5. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Oct 2009
    Posts
    67
    Rep Power
    5
    java -version
    java version "1.6.0_38"
    Java(TM) SE Runtime Environment (build 1.6.0_38_b05)
    Java HotSpot(TM) 64-Bit Server VM (build 20.13-b02, mixed mode)

    I'll test the backslash idea when the server is free.

    ASIDE: On my xp desktop, java -version works but there is nothing in the path variable that points to java.exe - how does that work? I mention it because on the server, the command does NOT work and there is also nothing in the path variable pointing to java.exe. I got the above result by drilling down to where java.exe is and executing java.exe "directly".
    Last edited by new2cfrb; February 10th, 2013 at 06:10 PM.
  6. #4
  7. No Profile Picture
    Moderator

    Join Date
    Jun 2002
    Location
    Raleigh, NC
    Posts
    5,263
    Rep Power
    968
    No, I mean are you sure that you have the 64-bit version of ColdFusion installed?
  8. #5
  9. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Oct 2009
    Posts
    67
    Rep Power
    5
    Sorry, looked but didn't see. How do I tell?
  10. #6
  11. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Oct 2009
    Posts
    67
    Rep Power
    5
    Though I'm unsure as to how to tell if I'm running 64 or 32 bit ColdFusion, I suspect it is the latter because there is nothing about 64 bit in the system information report and it currently runs happily with 32 bit Java whereas I can't get it to start with 64 bit Java.
  12. #7
  13. No Profile Picture
    Moderator

    Join Date
    Jun 2002
    Location
    Raleigh, NC
    Posts
    5,263
    Rep Power
    968
    That would do it then. The 64-bit JVM obviously only works with the 64-bit version of ColdFusion.
  14. #8
  15. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Oct 2009
    Posts
    67
    Rep Power
    5

    Solved!


    Successfully updated to Java 1.6.0_38 (32 bit) and restarted CF9.
    Many thanks for the assistance.

IMN logo majestic logo threadwatch logo seochat tools logo