Update Kill-Java.ps1

Mass replacing strings can be bad... fixed some ForEach-ObjectEach-Object and others.