Check for Java before doing Play workaroun