added java version parameters

set java source and target version to 1.7
spelling fixes