Tuesday, 5 February 2013

ColdFusion IceBreaker #8 : ColdFusion 32 bit or 64 bit ???

So what happens when you take over an existing ColdFusion installation and want to update it ?
Or something doesn't work and you want to verify if its "supposed" to work for a particular bit version???

Its a bit typical to check whether ColdFusion was installed in its 32bit or 64 bit flavor,particularly if you were not the one who installed it

Here are a few ways to detect the current bit version of your installed ColdFusion server

1)Use your install logs

Open the install log (Adobe_ColdFusion_X_xxxxx(optional for 9)_InstallLog.log.
It will contain the following information:
-java.version :  This is the version of the Java used in the installer.Might not necessarily match your system's java version
-java.vm.name : Observe this carefully .If its a 64bit install ,this value will mention 64 Eg: Java HotSpot(TM) 64-Bit Server VM' .If its a 32 bit install there wont be any such mention Eg: Java HotSpot(TM) Server VM
Instead of "Server" it might say "Client' depending on installation,but that is irrelevant for judging whether its a 32bit or a 64 bit install
-os.arch : This explicitly states x86 for 32 bit install and x64 for 64 bit install

2)Use java -version

Goto <ColdFusion-Home>/runtimr/jre/bin
Give java.exe -version
You should be able to see java version,runtime environment and the java vm name

N.B. The Java information in Administrator->System information reflects the java that CF is using as opposedto the java that the installer used,so don't count on it

3 comments:

  1. Just the scenario I was in and the answer proved to be spot on (referring to the java.vm.name). Thanks!

    ReplyDelete
  2. Cold Fusion Online Training, ONLINE TRAINING – IT SUPPORT – CORPORATE TRAINING http://www.21cssindia.com/courses/cold-fusion-online-training-92.html The 21st Century Software Solutions of India offers one of the Largest conglomerations of Software Training, IT Support, Corporate Training institute in India - +919000444287 - +917386622889 - Visakhapatnam,Hyderabad Cold Fusion Online Training, Cold Fusion Training, Cold Fusion, Cold Fusion Online Training| Cold Fusion Training| Cold Fusion| Courses at 21st Century Software Solutions
    Talend Online Training -Hyperion Online Training - IBM Unica Online Training - Siteminder Online Training - SharePoint Online Training - Informatica Online Training - SalesForce Online Training - Many more… | Call Us +917386622889 - +919000444287 - contact@21cssindia.com
    Visit: http://www.21cssindia.com/courses.html

    ReplyDelete