java 7 migration