add java 7 support

Make Intellij Idea work, after installing java 7 (from ppa http://www.webupd8.org/2012/01/install-oracle-java-jdk-7-in-ubuntu-via.html)