Put Java detection back in.