change way to determine java