setting java version to 1.7 since 8 features aren't needed.
Adding java docs.