# Java upgrade in windows nodes using chef

**URL:** <https://discourse.chef.io/t/java-upgrade-in-windows-nodes-using-chef/14346>\
**Category:** Chef Infra (archive)\
**Created:** [January 19, 2019, 3:19am UTC](https://discourse.chef.io/t/java-upgrade-in-windows-nodes-using-chef/14346 "2019-01-19T03:19:00Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![prashi89](https://avatars.discourse-cdn.com/v4/letter/p/8c91f0/32.png) [@prashi89](https://discourse.chef.io/u/prashi89)\
**Post date:** [January 19, 2019, 3:19am UTC](https://discourse.chef.io/t/java-upgrade-in-windows-nodes-using-chef/14346/1 "2019-01-19T03:19:00Z")

</div>

Hi,

I am looking for sample cookbook to upgrade JDK in windows nodes using chef , can anyone direct me on this ? also chef need to stop the process on nodes if any process is using that particular JDK ,so that it can proceed for upgrade.
