bit more robust jar location/detection