Properly detect if target rt.jar exists