Here are the instructions to follow if you're upgrading your Java version in a Windows machine, or moving from 32-bit to 64-bit Java. 

  1. Stop the DataSync Agent

  2. Modify the path for Java

    At the bottom of wrapper.conf file, there should be the following lines corresponding to the installed directory of Java and your current version:

    set.JAVA_HOME=C:\Program Files\Java\jre1.8.0_131


    Modify the set.JAVA_HOME variable to the location of your new version of Java. For example, if you are upgrading the version reflected above (Java 1.8.0_131) to version 1.8.0_144, you would modify like so:

    set.JAVA_HOME=C:\Program Files\Java\jre1.8.0_144
  3. Start the DataSync Agent


Warning

If you did not perform these steps, and the version of Java was upgraded on the Agent's VM, then it will run into issues. It will likely crash and fail to start up.