Changed capsule to use java 1.7