RF-13468: use Java 6 for file deletion