added note on java 7