some changes, including jre version for this switch