enable soot only in Java 1.7 or eariler versions