Fix #1, bump java target version to 1.7