update packages list before getting jre 7
Revert "update packages list before getting jre 7"

This reverts commit 5121f8cd4e4adcdf23b6ec25cb1c28bec8f417a7.