removing jre7 construct