Take a backup of jvm.config and set the new path of java.home in it
Thanks for the reply. I did try that using C:/Program Files/Java/jre7 but it didn't work.
Error: no `server' JVM at `C:/Program Files/Java/jre7\bin\server\jvm.dll'.
I do get confused with this...I have Java JRE...do I also need Java JDK or are they the same thing?
You need to install JDK 1.7U25 in order to get ColdFusion work.
jre don't have the dll, so you need to install JDK
Follow the steps mentoned below :-
You can remove/uninstall jre that you have installed
Install (run exe)
Stop ColdFusion 9 Application Server services
Now go to cfinstall root\runtime\bin\
Take a backup of jvm.config. Then open jvm.config and edit jvm.home
It will be something like java.home=C:/Program Files/Java/jdk1.7.0_25/jre
So setting this path means you are setting the path of jre present in the jdk folder not the standalone jre that you have installed.
Hope it helps
Hi Alan, You may also need to copy C:\Program Files\Java\jdk1.7.0_25\bin\msvcr100.dll to C:\ColdFusion9\runtime\bin.
Please note the slashes in your JVM.CONFIG for java home environment EG slashes can be like the two lines tho you would only use one line:
Alan, One other thing comes to mind, CF9.0.1 needs CHF4, CF9.0.2 needs CHF1 to be Adobe CF with Java 7 compatible. What is your CF9 patch level?
Carl, to be honest, I don't remember but if I can get the server to start, I'll find out. My desktop has decided to bsod instaed of starting , so I' m trying to work through that, but thanks for keeping on with this.
ok, re-built my pc (it was a faulty ssd) with win7, installed jre 7 and jdk 6 - cf9 now works fine. Thanks to everyone for your help.