Keeping Java jdk working on windows

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.

 

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s