I have an RCP build on Neon. A jre is included in the product export respectively installation. The product is exported using the product export wizard available at the *.product file editor.
My existing version 1.0.0 shall be updated via the p2 update mechanism. At the end of the update process I get a error message.
An error occurred while uninstalling
session context was:(profile=profile, phase=org.eclipse.equinox.internal.p2.engine.phases.Uninstall, operand=[R]de.bahntechnik.dd.opn_root.win32.win32.x86_64 126.96.36.199609301555 --> null, action=org.eclipse.equinox.internal.p2.touchpoint.natives.actions.CleanupzipAction).
Backup of file D:\tmp\product-name\jre\bin\java.dll failed.
File that was copied to backup could not be deleted: D:\tmp\product-name\jre\bin\java.dll
It seams the jre gets updated as well, which is fine and intended. Does any one have an idea how to avoid the error?