mcoleman wrote:
Our Java deployment script just does this
copy \\server\share\OracleJRE1.8\deployment.properties C:\Windows\Sun\Java\Deployment
and
copy \\server\share\OracleJRE1.8\exception.sites c:\Windows\Sun\Java\Deployment
Try adding /s to your command line:
cmd.exe /c xcopy.exe /Y /i /s {PackageShare}\Java\Sun\Java\Deployment\*.* "C:\Windows\Sun\Java\Deployment\"
Also, verify your path to {PackageShare}\Java\... is correct.
cmd.exe /c xcopy.exe /Y /i /s is my goto for when copying files. Works everytime.