Upgrading the JRE used by ColdFusion

前端 未结 4 1618
暗喜
暗喜 2021-01-19 19:43

I have a ColdFusion 8.1 application. It gets heavy use and I see jrun.exe getting very high memory usage in the task manager. This is a 32-bit windows 2003 server. When Jrun

4条回答
  •  面向向阳花
    2021-01-19 20:34

    it's EXTREMELY easy to do.

    1) download the Java SE Development Kit and install it like normal.

    2) open up the jmv.config for cf in a text editor, located in c:\coldfusion8\runtime\bin

    3) comment 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.

    As an example, my java.home and jvm.config look like this: java.home=C:/Program Files/Java/jdk1.6.0_11/jre

    4) restart the CF services.

    As a bonus, you can running JavaRa and free up some space by deleting all the old versions of the JRE.

提交回复
热议问题