• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

cf9 won't start after installing JRE 7 update 25

Explorer ,
Aug 19, 2013 Aug 19, 2013

Copy link to clipboard

Copied

C:\ColdFusion9\bin>cfstart.bat

C:\ColdFusion9\runtime\jre\lib\rt.jar: error reading zip file

Error occurred during initialization of VM

java/lang/NoClassDefFoundError: sun/reflect/UnsafeFieldAccessorImpl

Views

1.9K

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Enthusiast ,
Aug 19, 2013 Aug 19, 2013

Copy link to clipboard

Copied

Take a backup of jvm.config and set the new path of java.home in it

VJ

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Aug 19, 2013 Aug 19, 2013

Copy link to clipboard

Copied

Thanks for the reply. I did try that using C:/Program Files/Java/jre7 but it didn't work.

C:\ColdFusion9\bin>cfstart.bat
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?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Aug 19, 2013 Aug 19, 2013

Copy link to clipboard

Copied

Hi Alan,

You need to install JDK 1.7U25 in order to get ColdFusion work.

Nimit

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Enthusiast ,
Aug 19, 2013 Aug 19, 2013

Copy link to clipboard

Copied

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

Download JDK

http://java.com/en/download/index.jsp

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

VJ

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guide ,
Aug 19, 2013 Aug 19, 2013

Copy link to clipboard

Copied

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:

#java.home=C:/ColdFusion9/runtime/jre
java.home=C:\\Program Files\\Java\\jdk1.7.0_25\\jre
or
java.home=C:/Program Files/Java/jdk1.7.0_25/jre

HTH, Carl.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guide ,
Aug 19, 2013 Aug 19, 2013

Copy link to clipboard

Copied

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?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Aug 19, 2013 Aug 19, 2013

Copy link to clipboard

Copied

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.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Aug 25, 2013 Aug 25, 2013

Copy link to clipboard

Copied

LATEST

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.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
Documentation