What to do when Java Upgrades?
opened this issue · comments
Whenever there is an upgrade to Java, the path to java.exe changes. For example, when I implemented the SmartSheet Backup utility, Java was located here:
C:\Program Files\Java\jre1.8.0_131\bin\java.exe
After a Java update, java.exe is now located here:
C:\Program Files (x86)\Java\jre1.8.0_144\bin\java.exe
As a result, the Windows Scheduled Task can no longer find java.exe and the backup fails.
Since java updates occur all the time and it is very possible that a Sys Admin would not consider this scheduled task when updating java, we have a high probability of this routine failing often.
Is there a way to wildcard the path to java.exe? What are others doing about this obvious issue?
Thanks,
Doug Niman
Aiphone Corp.