Windows development in java can be painful. This is mostly due to any new java upgrade breaking the java home setup.
To fix this I started to look for an ansible script to redeploy the jdk. However the script had a dependency on powershell. Once you are using powershell you may as well use chocolatey. There are now sone simple commands to keep java working:
Choco install jdk8
This must be run as administrator and will require a single confirmation.
However now I have the means to keep neo4j and gradle happy after a java upgrade.