Updated jdk to 1.7.0_40