downgraded to java 1.6 (fixes #2)