Copy link to clipboard
Copied
I have upgraded My coldfusion 9 to use 64 bit JDK rather than 32 bit. But it still says 32 .When I try to get informtion through server variable.
sun.arch.data.model | 32 |
sun.boot.class.path | /data/www/jdk/jdk1.5.0_14_64bit/jre/lib/rt.jar:/data/www/jdk/jdk1.5.0_14_64bit/jre/lib/i18n.jar:/data/www/jdk/jdk1.5.0_14_64bit/jre/lib/sunrsasign.jar:/data/www/jdk/jdk1.5.0_14_64bit/jre/lib/jsse.jar:/data/www/jdk/jdk1.5.0_14_64bit/jre/lib/jce.jar:/data/www/jdk/jdk1.5.0_14_64bit/jre/lib/charsets.jar:/data/www/jdk/jdk1.5.0_14_64bit/jre/classes |
Jrun Version 4.0
Coldfusion 9.0
SunOS 5.10 Generic_142900-02 sun4v sparc SUNW,T5140
Thanks
Hello deepu23,
The class file confirms the bitness as 64-bit. At the same time, if the java.home is pointing to 64-bit jdk in jvm.config, then that also conforms that the Server running is using 64-bit jdk.
Regards,
Anit Kumar
Copy link to clipboard
Copied
My steps #
1) Downloaded the JDK and installed it like normal.
2) And opened up the jmv.config for cf
3) Commented out the existing java.home line with a by putting a "#" at the beginning of the line add a new java.home line below it pointing to your jvm installation.
4) Restart the CF services.
Copy link to clipboard
Copied
deepu23, launch a shell and type:
java -version
What does that say? It should tell you the bitness in the result. If it says 64 bits there, then maybe it's a CF bug?
Copy link to clipboard
Copied
Hello deepu23,
The class file confirms the bitness as 64-bit. At the same time, if the java.home is pointing to 64-bit jdk in jvm.config, then that also conforms that the Server running is using 64-bit jdk.
Regards,
Anit Kumar
Find more inspiration, events, and resources on the new Adobe Community
Explore Now