The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.
|
 |
|
Dev Shed Forums
> Programming Languages - More
> ColdFusion Development
|
Java Update Failure trying to update to JDK1.6.0_38
Discuss Java Update Failure trying to update to JDK1.6.0_38 in the ColdFusion Development forum on Dev Shed. Java Update Failure trying to update to JDK1.6.0_38 ColdFusion Development forum discussing CFML coding practices, tips on CFML, and other CFML related topics. Find out why ColdFusion is the tool of choice for many e-commerce developers.
|
|
 |
|
|
|
|

Dev Shed Forums Sponsor:
|
|
|

February 9th, 2013, 10:13 PM
|
|
Contributing User
|
|
Join Date: Oct 2009
Posts: 59
Time spent in forums: 11 h 27 m 24 sec
Reputation Power: 4
|
|
|
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?
|

February 10th, 2013, 03:26 PM
|
|
Moderator
|
|
Join Date: Jun 2002
Location: Raleigh, NC
|
|
|
You can try just using backslashes in the JVM config.
Also, are you sure you have the 64-bit version of CF installed?
|

February 10th, 2013, 05:51 PM
|
|
Contributing User
|
|
Join Date: Oct 2009
Posts: 59
Time spent in forums: 11 h 27 m 24 sec
Reputation Power: 4
|
|
|
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.
|

February 10th, 2013, 09:41 PM
|
|
Moderator
|
|
Join Date: Jun 2002
Location: Raleigh, NC
|
|
|
No, I mean are you sure that you have the 64-bit version of ColdFusion installed?
|

February 10th, 2013, 11:28 PM
|
|
Contributing User
|
|
Join Date: Oct 2009
Posts: 59
Time spent in forums: 11 h 27 m 24 sec
Reputation Power: 4
|
|
|
Sorry, looked but didn't see. How do I tell?
|

February 11th, 2013, 06:50 AM
|
|
Contributing User
|
|
Join Date: Oct 2009
Posts: 59
Time spent in forums: 11 h 27 m 24 sec
Reputation Power: 4
|
|
|
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.
|

February 11th, 2013, 08:34 AM
|
|
Moderator
|
|
Join Date: Jun 2002
Location: Raleigh, NC
|
|
|
That would do it then. The 64-bit JVM obviously only works with the 64-bit version of ColdFusion.
|

February 12th, 2013, 05:54 AM
|
|
Contributing User
|
|
Join Date: Oct 2009
Posts: 59
Time spent in forums: 11 h 27 m 24 sec
Reputation Power: 4
|
|
|
Solved!
Successfully updated to Java 1.6.0_38 (32 bit) and restarted CF9.
Many thanks for the assistance.
|
Developer Shed Advertisers and Affiliates
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Rate This Thread |
Linear Mode
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
|