Fallback on installed java (#952)